Adding the foolowing lines in <b>translateCode</b> function in sqUnixX11.c:<br><br>translateCode(KeySym symbolic, int *modp, XKeyEvent *evt)<br>...<br> case XK_KP_Home: return 1;<br> case XK_KP_End: return 4;<br>
<br>+ case XK_F1: return 16;<br>+ case XK_F2: return 17;<br>+ case XK_F3: return 18;<br>+ case XK_F4: return 19;<br>+ case XK_F5: return 20;<br>+ case XK_F6: return 21;<br>+ case XK_F7: return 22;<br>
+ case XK_F8: return 23;<br>+ case XK_F9: return 24;<br>+ case XK_F10: return 25;<br><br>what stops me to get F11 and F12 working is that they have the same keysyms thant XK_L1 and XK_L2 and they are handled too (but XK_L1 mapping is not working because withMetaSet does not set the modifier) :/.<br>
<br>+ /* XL_F11 and XK_L1 are the same keysym */<br>+ /* XL_F12 and XK_L2 are the same keysym */<br><br>Does anyone know if those keycodes (16-27) are used? What do you think about adding this?<br><br>Thanks!<br>Guille<br>