[Patch] Keyboard shortcuts

Post new patches here!
Post Reply
tigerforce
Posts: 1
Joined: Thu 26 Dec, 2019 12:36 am

[Patch] Keyboard shortcuts

Post by tigerforce »

PCem uses several keyboard shortcuts for certain operations. For example, CTRL+ALT+PAGEDOWN for full screen, CTRL+ALT+PAGEUP for screenshots, CTRL+ALT+END for input releases. These shortcuts use SDL scancodes. However, some computer keyboards lack keys for those scancodes. For example, some gaming laptops don't have dedicated PAGEUP and PAGEDOWN keys. They use numerical keypads for those keys. One specific example is the ASUS TUF FX-504 laptop.

This patch adds shortcuts for numerical keypads and allows such operations to be possible on those keyboards.
Attachments
keypad.patch
(1.76 KiB) Downloaded 43 times
Post Reply