PDA

View Full Version : Little OT, but: DirectInput Keyboard



Geniuz
06-15-2001, 02:02 PM
Hi there,
this question is a little OT, but I guess here are some people, who might help me...

I read the Keyboard state into keys[256] and check if(keys['A']&0x80))... for example...
Question: Why &0x80 ? I disable some keys by this, don't I? Why?

Thx