Re: [ntdev] Keyboard scan code translation

Also note that when remote desktop is involved, it is the per user keyboard layout on the server not the client that makes this translation

Sent from Surface Pro

From: Doron Holan
Sent: ‎Thursday‎, ‎March‎ ‎05‎, ‎2015 ‎8‎:‎31‎ ‎PM
To: Windows System Software Devs Interest List

No, this happened in win32k.sys and can be a per user setting

d

Bent from my phone

From: xxxxx@rizvi.ca
Sent: ‎3/‎5/‎2015 5:26 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Keyboard scan code translation

Hi,

I have a legacy keyboard filter driver. In this filter I want to determine which key was pressed. In my call back function I get a pointer to the KEYBOARD_INPUT_DATA structure from which I can determine the scan code of the key pressed. My problem is to translate this code to a character. Since various types of keyboards have different scan code for the same key. So my question is, is there a kernel mode function that I can use that will return the character associated with the scan code?

Thanks
Rehan


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

Visit the list at: http://www.osronline.com/showlists.cfm?list=ntdev

OSR is HIRING!! See http://www.osr.com/careers

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer