<p>Our backends are inconsistent about numpad handling, so in gfx_sdl2 and gfx_directx the numpad can't be used for movement.</p>
<p>When using gfx_fb or gfx_sdl, if numlock is off, then pressing numpad keys causes an arrow key/pageup/etc to be reported as pressed instead. (gfx_fb also can't distinguish a few keys: numpad /, - and Enter.) Also both don't report whether numlock is on or not, but gfx_sdl does report keydown for numlock. Behaviour seems to be the same across Windows and Linux.</p>
<p>In gfx_directx and gfx_sdl, numlock but it makes no difference to how keys are reported. They are never mapped to arrow keys/etc. gfx_sdl2 report the state of numlock, scrolllock and capslock, as a depressed key. gfx_directx behaves strangely, it reports a momentary keydown when you turn on numlock, but does read it as depressed, and then reports another keydown only when you turn it off and then press a numpad key!</p>
<p>Maybe we should change gfx_directx and gfx_sdl2 to act like gfx_fb and gfx_sdl, so you can use numlock to decide whether/how to use the numpad.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/45?email_source=notifications&email_token=AMWGWZTZJI5Y3SKJYT37W53RBDKB5A5CNFSM4KPPVEBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKYTVFA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZUQYXWVSCKUOC6AIVDRBDKB5ANCNFSM4KPPVEBA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AMWGWZSMMIHHQICSHFRY65LRBDKB5A5CNFSM4KPPVEBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKYTVFA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/45?email_source=notifications\u0026email_token=AMWGWZTZJI5Y3SKJYT37W53RBDKB5A5CNFSM4KPPVEBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKYTVFA",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/45?email_source=notifications\u0026email_token=AMWGWZTZJI5Y3SKJYT37W53RBDKB5A5CNFSM4KPPVEBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IKYTVFA",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>