<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hello Sreyan,</p>
<p>Did you try SHIFT+KP_1 with NumLock disabled ?</p>
<p>I think there is a conflict between Shift and NumLock when used
with the numeric pad.</p>
<p>xev sees the KeyEvents, but if you press SHIFT+KP_1 with NumLock
enabled in an application like LibreOffice, or even vi, nothing
happens.<br>
</p>
<p>Le 17/02/2020 à 16:22, Sreyan Chakravarty a écrit :<br>
</p>
<blockquote type="cite"
cite="mid:CAMaziXttuYwT47QX_mOC31NymOgb_d=3ADbQYy6guj8KEMWsaw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div>You can find the entire output here:</div>
<div><br>
</div>
<div><a href="https://pastebin.com/geeTYpSn"
moz-do-not-send="true">https://pastebin.com/geeTYpSn</a></div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Feb 17, 2020 at 8:34
PM Sreyan Chakravarty <<a href="mailto:sreyan32@gmail.com"
moz-do-not-send="true">sreyan32@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div>I did post the unfiltered output but it got scrubbed.<br>
</div>
<div><br>
</div>
<div>This is my unfiltered output:</div>
<div><br>
</div>
<div>IT SEEMS THE MOMENT I PRESS KP_1 WITH SHIFT A RELEASE
EVENT IS GENERATED FOR MY SHIFT KEY EVEN BEFORE THE KEY
PRESS FOR KP_1 IS REGISTERED AND WHEN I RELEASE KP_1 A
PRESS EVENT IS GENERATED.</div>
<div><br>
</div>
<div>IT IS ALMOST AS IF MY XKB CONFIGURATION FORBIDS
SHIFT+KP_1 NO MATTER WHAT I DO.</div>
<div><br>
</div>
<div>KeyPress event, serial 30, synthetic NO, window
0x4e00001,<br>
root 0x3ac, subw 0x0, time 753837, (164,561),
root:(814,600),<br>
state 0x10, keycode 50 (keysym 0xffe1, Shift_L),
same_screen YES,<br>
XLookupString gives 0 bytes: <br>
XFilterEvent returns: False<br>
<br>
KeyRelease event, serial 30, synthetic NO, window
0x4e00001,<br>
root 0x3ac, subw 0x0, time 754303, (164,561),
root:(814,600),<br>
state 0x11, keycode 50 (keysym 0xffe1, Shift_L),
same_screen YES,<br>
XLookupString gives 0 bytes: <br>
XFilterEvent returns: False<br>
<br>
KeyPress event, serial 30, synthetic NO, window
0x4e00001,<br>
root 0x3ac, subw 0x0, time 754305, (164,561),
root:(814,600),<br>
state 0x10, keycode 87 (keysym 0xffb1, KP_1),
same_screen YES,<br>
XLookupString gives 1 bytes: (31) "1"<br>
XFilterEvent returns: False<br>
<br>
KeyRelease event, serial 30, synthetic NO, window
0x4e00001,<br>
root 0x3ac, subw 0x0, time 754351, (164,561),
root:(814,600),<br>
state 0x10, keycode 87 (keysym 0xffb1, KP_1),
same_screen YES,<br>
XLookupString gives 1 bytes: (31) "1"<br>
XFilterEvent returns: False<br>
<br>
KeyPress event, serial 30, synthetic NO, window
0x4e00001,<br>
root 0x3ac, subw 0x0, time 754352, (164,561),
root:(814,600),<br>
state 0x10, keycode 50 (keysym 0xffe1, Shift_L),
same_screen YES,<br>
XLookupString gives 0 bytes: <br>
XFilterEvent returns: False</div>
<div><br>
</div>
<div>This is the weirdest thing I have seen. What is
causing this ?</div>
<div><br>
</div>
<div>How can I view my current keyboard layout and the
rules set in that layout for modifiers ?<br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Mon, Feb 17, 2020 at
3:13 PM Ilya Anfimov <<a
href="mailto:ilan@tzirechnoy.com" target="_blank"
moz-do-not-send="true">ilan@tzirechnoy.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">On Sun, Feb 16, 2020 at
04:41:55PM +0530, Sreyan Chakravarty wrote:<br>
> When I press <br>
> Shift+KP_1 why am I getting an extra Shift in my
xev output ?<br>
> <br>
> 50 Shift_L<br>
> 87 KP_1<br>
> 50 Shift_L<br>
> <br>
> I am running xev in the following format:<br>
> <br>
> xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a
{ printf "%-3s %s\n", $5, $8 }'<br>
> <br>
> This is messing with my i3 configs. Where is the
extra Shift coming from ? I have disabled<br>
> autorepeat and I still get the same output. (xset r
off)<br>
> <br>
> Keyboard Layout: English US Default<br>
> OS: Manjaro i3wm<br>
> Why is this happening?<br>
<br>
Can you post unfiltered xev output when you press and
release theese keys?<br>
<br>
Well, this could be some misinterpretation of xev, as
well as<br>
some xkb internal processings. xev output should rule out
the first variant.<br>
> <br>
> --<br>
> Regards,<br>
> Sreyan Chakravarty<br>
<br>
> _______________________________________________<br>
> <a href="mailto:xorg@lists.x.org" target="_blank"
moz-do-not-send="true">xorg@lists.x.org</a>: X.Org
support<br>
> Archives: <a
href="http://lists.freedesktop.org/archives/xorg"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.freedesktop.org/archives/xorg</a><br>
> Info: <a
href="https://lists.x.org/mailman/listinfo/xorg"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://lists.x.org/mailman/listinfo/xorg</a><br>
> Your subscription address: %(user_address)s<br>
<br>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr">
<div dir="ltr">Regards,
<div>Sreyan Chakravarty</div>
</div>
</div>
</blockquote>
</div>
<br clear="all">
<br>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr">Regards,
<div>Sreyan Chakravarty</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:xorg@lists.x.org">xorg@lists.x.org</a>: X.Org support
Archives: <a class="moz-txt-link-freetext" href="http://lists.freedesktop.org/archives/xorg">http://lists.freedesktop.org/archives/xorg</a>
Info: <a class="moz-txt-link-freetext" href="https://lists.x.org/mailman/listinfo/xorg">https://lists.x.org/mailman/listinfo/xorg</a>
Your subscription address: %(user_address)s
</pre>
</blockquote>
</body>
</html>