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

Out of bounds F keys #116

Open
5HT2 opened this issue Oct 15, 2019 · 5 comments
Open

Out of bounds F keys #116

5HT2 opened this issue Oct 15, 2019 · 5 comments

Comments

@5HT2
Copy link

5HT2 commented Oct 15, 2019

I'm using xcape -e 'Caps_Lock=Escape;Super_L=0xffd4', the keysym for F23 is 0xffd4, as shown by /usr/include/X11/keysymdef.h
xcape doesn't recognize it and instead throws WARNING: No keycode found for keysym 0xffd4 (0xffd4) in mapping Super_L. Ignoring this mapping.
Is there another way to map it to F23 like keys?

@aplotor
Copy link

aplotor commented Jan 5, 2020

bump. same issue, F13 onwards

@rybern
Copy link

rybern commented Feb 26, 2020

Same issue, trying to map F20

@brentgreeff
Copy link

Same issue - I want to map Shift_R=XK_F19
Invalid key: XK_F19
Failed to parse_mapping

@AkashaP
Copy link

AkashaP commented Sep 9, 2020

It's just F13-F24, remove the XK_ prefix, as per man xcape you can use the macro labels minus the XK_ prefix

xcape -d -e '2=F13'
Assigned mapping from "2" ( keysym 0x32, key code 11)
to "F13" (keysym 0xffca, key code 191)
sig_handler running...
Intercepted key event 3, key code 36
Intercepted key event 2, key code 11
Key pressed!
2Intercepted key event 3, key code 11
Key released!
Generating F13!
Ignoring generated event.
Ignoring generated event.

I'm having a separate issue though that as a receiver event it only generates the events once and then never works again (e.g F13=2), unless i do something like "F13=2;F13=2" then it works but types twice i am still experimenting with it and posting it as a separate issue

@toothbrush
Copy link

I'm getting the same issue, trying to run xcape -e "Super_L=Multi_key". I've checked in xorgproto-2019.1's include/X11/keysymdef.h, and i can see the line #define XK_Multi_key 0xff20. What could be the problem?

The output xcape gives is:

WARNING: No keycode found for keysym Multi_key (0xff20) in mapping Super_L. Ignoring this mapping.
Failed to parse_mapping

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

6 participants