Hi,
for my key settings I use a function which detects the keycode
of the pressed key.
Then I want to display the name of the key (KEY_DELETE, KEY_UP..).
Is there a way to get the name of the key by the keycode?
For code 48-90 I could use "KEY_"+Chr(keycode), but for the other I would
have to create a table manually. Not really a problem, but perhaps there is a workaround?
for my key settings I use a function which detects the keycode
of the pressed key.
Then I want to display the name of the key (KEY_DELETE, KEY_UP..).
Is there a way to get the name of the key by the keycode?
For code 48-90 I could use "KEY_"+Chr(keycode), but for the other I would
have to create a table manually. Not really a problem, but perhaps there is a workaround?