'Use keypad on the DWM
I would like to use my Keypad keys on my DWM (Suckless). I know I need to
#include <X11/XF86keysym.h>
but what are the correct keys to use? If I want to use the numbers(on my keypad) 1,2,3 and 4 to swtich tags how should I specify this in the DWM ?
TAGKEYS( XK_KP_1, 0)
TAGKEYS( XK_KP_2, 1)
TAGKEYS( XK_KP_3, 2)
TAGKEYS( XK_KP_4, 3)
TAGKEYS( XK_KP_5, 4)
TAGKEYS( XK_KP_6, 5)
//
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)
TAGKEYS( XK_5, 4)
TAGKEYS( XK_6, 5)
As you can see I tried the command XK_KP_1 (I found it on this website) but it didn't work
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
