If I use
if (code.mod & (KMOD_LCTRL | KMOD_RCTRL)) {
it works with the control keys, If I use
if (code.mod & (KMOD_LALT | KMOD_RALT)) {
It does not work with the Alt keys. Same code, different key *headdesk*
« Back to merge proposal
If I use
if (code.mod & (KMOD_LCTRL | KMOD_RCTRL)) {
it works with the control keys, If I use
if (code.mod & (KMOD_LALT | KMOD_RALT)) {
It does not work with the Alt keys. Same code, different key *headdesk*