[Patch] Keyboard shortcuts

Post Reply
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.
(1.76 KiB) Downloaded 514 times
User avatar
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Patch] Keyboard shortcuts

Post by SarahWalker »

Merged at commit 7570ba4.
Post Reply