Update togglekey.h

This commit is contained in:
Xtr126 2024-07-11 08:40:58 +05:30 committed by GitHub
parent 8da4433ed1
commit b1551b1259
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1 +1,10 @@
/*
Run cage to obtain key codes:
$ XTMAPPER_WIDTH=100 XTMAPPER_HEIGHT=100 ./build/cage sh
Output:
/dev/input/wl_keyboard: EV_KEY KEY_D DOWN
/dev/input/wl_keyboard: EV_KEY KEY_W UP
/dev/input/wl_keyboard: EV_KEY KEY_F11 DOWN
/dev/input/wl_keyboard: EV_KEY KEY_SUPER_L UP
*/
#define TOGGLEKEY "KEY_F11"