Merge pull request #119 from cgutman/remove_superkey_workaround
Remove super key workaround
This commit is contained in:
commit
d33f742241
2 changed files with 2 additions and 6 deletions
|
|
@ -290,8 +290,8 @@ uint16_t keysym(uint16_t modcode) {
|
|||
return XK_Control_R;
|
||||
case 0xA4:
|
||||
return XK_Alt_L;
|
||||
case 0xA5: /* return XK_Alt_R; */
|
||||
return XK_Super_L;
|
||||
case 0xA5:
|
||||
return XK_Alt_R;
|
||||
case 0x5B:
|
||||
return XK_Super_L;
|
||||
case 0x5C:
|
||||
|
|
|
|||
|
|
@ -201,10 +201,6 @@ void scroll(input_t &input, int distance) {
|
|||
}
|
||||
|
||||
void keyboard(input_t &input, uint16_t modcode, bool release) {
|
||||
if(modcode == VK_RMENU) {
|
||||
modcode = VK_LWIN;
|
||||
}
|
||||
|
||||
INPUT i {};
|
||||
i.type = INPUT_KEYBOARD;
|
||||
auto &ki = i.ki;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue