Question regarding scancodes

BraceForImpact

New Lad
Member
Hi everyone, cool forum!,
I am creating a programm that uses scancodes. The set of scancodes i found here (https://kippykip.com/b3ddocs/commands/scancodes.htm) works for on my system. However there seem to be many set of scancodes.
Can someone explain where this very set comes from? is it universal to all windows machines?

I am programming against this API:

keypresses only work when is use the set above als parameter to specify to keys.
 
Last edited:

Kippykip

CEO of cancelled
cringge
It comes from the old Blitz3D engine from the 2000s, notable games with the engine are SCP Containment Breach and Goofy Gokarts.

It's likely to match some other programming languages scancodes too, but probably only on Windows I imagine.
Haven't needed to use it on Linux yet to know for sure
 

BraceForImpact

New Lad
Member
thx for the quick reply! I am only interested in windows machines. So the set of scancodes is progamming language specific? If so that would be great. My worry was that it could depend on a hardware component.
 

Kippykip

CEO of cancelled
cringge
I believe so, I think it's also loosely based on the ASCII character set in a way.
Glad it works out for your project either way though!
thx for the quick reply! I am only interested in windows machines. So the set of scancodes is progamming language specific? If so that would be great. My worry was that it could depend on a hardware component.
 
Top