Re: [hackers] DWM keypad navigation?

2022-12-23 Thread fossy
> Try using the program `xev`, and watch the console output for the keysym that is pressed. That should give you the value that you need if you prefix it with "XK_". Holy shit, it works! xev is very useful, thanks! I ended up doing something like XK_KP_End which would be 1 on the keypad. Thanks

Re: [hackers] DWM keypad navigation?

2022-12-20 Thread Sebastian LaVine
Try using the program `xev`, and watch the console output for the keysym that is pressed. That should give you the value that you need if you prefix it with "XK_". On Tue Dec 20, 2022 at 2:37 PM EST, wrote: > > The keypad keys are prefixed with XK_KP (KP like KeyPad), and for > example key

Re: [hackers] DWM keypad navigation?

2022-12-20 Thread fossy
> The keypad keys are prefixed with XK_KP (KP like KeyPad), and for example key number '1' is XK_KP_1 That seems to not work? I tried with and without the key-lock toggled, and a bunch of different combinations - some give no error nor warning during compilation but then don't really work,

Re: [hackers] DWM keypad navigation?

2022-12-18 Thread Quentin Rameau
> Hello there. Hi fossy, > Does anyone know if there's a way to use the key-pad numbers (usually > found on the right side of generic keyboards) to navigate tags? > > I'm sure it can be done.. > The default is XK_1, for example, using TAGKEYS() macro. The keypad keys are prefixed with XK_KP

[hackers] DWM keypad navigation?

2022-12-18 Thread fossy
Hello there. Does anyone know if there's a way to use the key-pad numbers (usually found on the right side of generic keyboards) to navigate tags? I'm sure it can be done.. The default is XK_1, for example, using TAGKEYS() macro. I'm just annoyed by the numbers being so far apart (say 1 compared