.net difference between right shift and left shift keys

Posted by Mr AH on Stack Overflow See other posts from Stack Overflow or by Mr AH
Published on 2010-04-02T21:24:03Z Indexed on 2010/04/02 21:53 UTC
Read the original article Hit count: 334

Filed under:
|
|

I am currently working on an application which requires different behaviour based on whether the user presses the right or left shift key (RShiftKey, LShiftKey), however when either of these keys is pressed I only see ShiftKey | Shift.

Is there something wrong with my keyboard? (laptop) do I need a new keyboard driver/keyboard in order to send the different key commands maybe...

This is a pretty massive problem at the moment, as there is no way of testing that the code works (apart from unit tests). Anyone had any experience of the different shift/alt/ctrl keys?

© Stack Overflow or respective owner

Related posts about .NET

Related posts about c#