Re: [dev] wmii keyboard shortcut issues

From: Benjamin Cathey <benjamin_AT_apocalypticfail.com>
Date: Thu, 01 Sep 2011 13:42:49 -0400

Okay so then they are apparently different, regardless of the keycode
give by `xev`

That's fine - however what would I use in my wmiirc to define the
difference?

Would it be:

Key $MODKEY-Control-KP0 ?

---
Actually it looks like it would be $MODKEY-Control-KP_0
Thanks for your help!
B
On 09/01/2011 12:05 PM, Bjartur Thorlacius wrote:
> Žann miš 31.įgś 2011 23:36, skrifaši Benjamin Cathey:
>> I recently added a few new key combinations and I am having issues and I
>> am not quite sure why.
>>
>> I am attempting to use the number keys in the numeric keypad and it
>> simply is not working. The combinations work with the regular number
>> keys however not with those on the keypad. Using xev it looks as though
>> the keycodes are identical so I am not sure why it is not working. The
>> combinations are:
>>
>  From /usr/include/X11/keysymdef.h:
> #define XK_0 0x0030 /* U+0030 DIGIT ZERO */
> #define XK_1 0x0031 /* U+0031 DIGIT ONE */
> #define XK_2 0x0032 /* U+0032 DIGIT TWO */
> #define XK_3 0x0033 /* U+0033 DIGIT THREE */
> #define XK_4 0x0034 /* U+0034 DIGIT FOUR */
> #define XK_5 0x0035 /* U+0035 DIGIT FIVE */
> #define XK_6 0x0036 /* U+0036 DIGIT SIX */
> #define XK_7 0x0037 /* U+0037 DIGIT SEVEN */
> #define XK_8 0x0038 /* U+0038 DIGIT EIGHT */
> #define XK_9 0x0039 /* U+0039 DIGIT NINE */
>
> [snip]
>
> #define XK_KP_0 0xffb0
> #define XK_KP_1 0xffb1
> #define XK_KP_2 0xffb2
> #define XK_KP_3 0xffb3
> #define XK_KP_4 0xffb4
> #define XK_KP_5 0xffb5
> #define XK_KP_6 0xffb6
> #define XK_KP_7 0xffb7
> #define XK_KP_8 0xffb8
> #define XK_KP_9 0xffb9
>
>
>
> * Spaces elided from quotation to honor historical line length limits.
>
Received on Thu Sep 01 2011 - 19:42:49 CEST

This archive was generated by hypermail 2.2.0 : Thu Sep 01 2011 - 19:48:03 CEST