Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not use number pad numbers #124

Open
AkashaP opened this issue Sep 9, 2020 · 0 comments
Open

Does not use number pad numbers #124

AkashaP opened this issue Sep 9, 2020 · 0 comments

Comments

@AkashaP
Copy link

AkashaP commented Sep 9, 2020

First,
xset q | grep Caps - verify Num Lock is On
00: Caps Lock: off 01: Num Lock: on 02: Scroll Lock: off

Normal 9 key to number pad 1

xcape -d -e '9=KP_1'

to "KP_1" (keysym 0xffb1, key code 87)
sig_handler running...
Intercepted key event 3, key code 36
Intercepted key event 2, key code 18
Key pressed!
9Intercepted key event 3, key code 18
Key released!
Generating KP_End!
Ignoring generated event.
Ignoring generated event.
1

note how it says KP_End instead of KP_1. KP_End is what is sent when numlock is off. Despite that, 1 is sent and not end

Now reverse the command
xcape -d -e 'KP_1=9'

to "9" (keysym 0x39, key code 18)
sig_handler running...
Intercepted key event 3, key code 36
Intercepted key event 2, key code 87
1Intercepted key event 3, key code 87
Intercepted key event 2, key code 87
1Intercepted key event 3, key code 87
Intercepted key event 2, key code 87
1Intercepted key event 3, key code 87

keypad 1 is not detected

@AkashaP AkashaP changed the title Does not intercept number pad Does not use number pad numbers Sep 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant