How to emulate keys in standalone build for notebooks?

Hello blender gears, I’am glad to notice that I’am unable to do one thing with bge.
So I come here to find any work around for emulating numpad on standalone build.
Well I need numeral keys on notebook to register as numpad key presses as from full keyboard.
I need this to register 4 digit code to unlock door.
Well hope to find right, working answer. :wink:

make 2 options?
1 for pc
1 for laptop

let the user choose its input or make a toggle button for it.
or make a script that can detect laptops and adjust they keys according to that.

also you can make an ingame keypad so the user can click it.

i would use python for it and do something like: if key2 or numpad2: … so instead of making it harder you just check if one of the 2 keys is pressed. or simply use an OR controller with both keys connected to it, if you use bricks

You can let the keyboard sensor record the entered string into a property. This means it does not matter what number keys where used.

This has to be mindCloud. I’am just loving given solutions to this problem. It all is fine and dandy, I guess all above ideas comes from practices. I will practice my knowledge and hope to be more rational in mind logistic highway. :wink: