mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
add back some hotkeys.
remove some legacy cruft from NDS.cpp.
This commit is contained in:
@ -217,6 +217,11 @@ void Process()
|
||||
}
|
||||
|
||||
|
||||
bool HotkeyDown(int id) { return HotkeyMask & (1<<id); }
|
||||
bool HotkeyPressed(int id) { return HotkeyPress & (1<<id); }
|
||||
bool HotkeyReleased(int id) { return HotkeyRelease & (1<<id); }
|
||||
|
||||
|
||||
// TODO: MacOS version of this!
|
||||
// distinguish between left and right modifier keys (Ctrl, Alt, Shift)
|
||||
// Qt provides no real cross-platform way to do this, so here we go
|
||||
|
Reference in New Issue
Block a user