Why does X11 generate an extra SHIFT when I press Shift+KP_1 ?

Ilya Anfimov ilan at tzirechnoy.com
Mon Feb 17 09:43:17 UTC 2020


On Sun, Feb 16, 2020 at 04:41:55PM +0530, Sreyan Chakravarty wrote:
>    When I press 
>    Shift+KP_1 why am I getting an extra Shift in my xev output ?
> 
>  50  Shift_L
>  87  KP_1
>  50  Shift_L
> 
>  I am running xev in the following format:
> 
>  xev | awk -F'[ )]+' '/^KeyPress/ { a[NR+2] } NR in a { printf "%-3s %s\n", $5, $8 }'
> 
>  This is messing with my i3 configs. Where is the extra Shift coming from ? I have disabled
>  autorepeat and I still get the same output. (xset r off)
> 
>  Keyboard Layout: English US Default
>  OS: Manjaro i3wm
>  Why is this happening?

 Can you post unfiltered xev output when you press and release theese keys?

 Well, this could be some misinterpretation of xev, as well as
some xkb internal processings. xev output should rule out the first variant.
> 
>    --
>    Regards,
>    Sreyan Chakravarty

> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s



More information about the xorg mailing list