mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2026-01-21 13:36:01 +00:00
Merge pull request #119 from cgutman/remove_superkey_workaround
Remove super key workaround
This commit is contained in:
commit
d33f742241
@ -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…
Reference in New Issue
Block a user