Scan code of Keyboard in c# -
i'm doing project in c#. want catch data of scan code of keyboard. have used mapvirtualkey() function. function, keyboard have translated scan code ascii code, use function translate ascii scan code. want know how catch scan code of keyboard, before translate ascii code, mean when press key, make code. when release, break code. example, press key 'a' "1e" , release "9e" (makecode , breakcode of scan code set 1). all.
here microsoft's information on raw input.
here article on how using raw input c# handle multiple keyboards. (has code samples)
this os level (winapi) function. seems need registering raw input, can perform standard/buffered read of raw input.
Comments
Post a Comment