Share via

How to get the Key code or scan code for Function button (Fn) from external(USB) keyboard?

Anonymous
2024-08-30T06:43:11.2566667+00:00

Hi,

I am using UWP , C# technology for my application. I have external(USB) keyboard connected with tablet. I am trying to implement shortcut key for my application. Shortcut key is combination of function key + letter like Fn + Q, Fn +A etc.

For Window.Current.CoreWindow.CharacterReceived event able to get the KeyCode for letter (like Q, A etc.) but not able to get the keyCode for Fn key event the same event is not getting fired.

Can you please help on this?

Regards,

Arvind

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.