Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / Function to translate the scancodes in key name(user32.dll)

Author
Message
Silverman
17
Years of Service
User Offline
Joined: 18th Jan 2007
Location: France
Posted: 25th Aug 2013 13:06 Edited at: 25th Aug 2013 18:05
Hi all,

the function translates the scancodes in key name and stores the result in an array.
It uses the user32 dll, so it makes the difference between QWERTY and AZERTY keyboards.
It is very simple to use(just one array to read):


EDIT :Tested, it makes the difference between QWERTY and AZERTY keyboards.
Small change in the code.

DirectX 9.0c (February 2010)/ DBClassic v1.20
Libervurto
17
Years of Service
User Offline
Joined: 30th Jun 2006
Location: On Toast
Posted: 26th Aug 2013 09:02
That's useful.



Formerly OBese87.

Login to post a reply

Server time is: 2024-03-29 06:11:04
Your offset time is: 2024-03-29 06:11:04