Advertisement

Detecting '!' input using DirectInput

Started by March 22, 2001 07:20 AM
1 comment, last by casparov 23 years, 8 months ago
Hi, If you use DirectInput8 for getting input from the keyboard, then how can you determine if say the ‘@’ key is pressed, or the ‘!’ key? A combination of shift and 1 would create a !, but this is not the case on all keyboards. Can anyone give me some help on this? At present I basically look for a DIK_! constant, errm, how do I get around this stupid little problem? Thanks ! I''ll promise you 64000 kilo''s of gold if you deliver the problem solving answer.
check if both ''shift'' and ''1'' is pressed. at least on my keyboard. each key has only one mapping code

http://members.xoom.com/myBollux
Advertisement
ok so, what do I do if on a specific keyboard shift plus 1 equals ''#'' in stead of the desired ''!''?

This topic is closed to new replies.

Advertisement