Merge branch 'master' into encrypt_control_and_audio

This commit is contained in:
loki 2021-07-09 14:19:21 +02:00
commit 4a3f3622b8
2 changed files with 2 additions and 6 deletions

View File

@ -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:

View File

@ -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;