mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 755903 - Map the hardware camera shutter button to a key event [r=mwu]
This commit is contained in:
parent
231d694eaa
commit
89be0e2c50
@ -261,6 +261,9 @@ maybeSendKeyEvent(int keyCode, bool pressed, uint64_t timeMs)
|
||||
case KEY_VOLUMEDOWN:
|
||||
sendKeyEvent(NS_VK_PAGE_DOWN, pressed, timeMs);
|
||||
break;
|
||||
case KEY_CAMERA:
|
||||
sendKeyEvent(NS_VK_PRINTSCREEN, pressed, timeMs);
|
||||
break;
|
||||
default:
|
||||
VERBOSE_LOG("Got unknown key event code. type 0x%04x code 0x%04x value %d",
|
||||
keyCode, pressed);
|
||||
|
Loading…
Reference in New Issue
Block a user