What does the 0x80 code mean when referring to keyboard controls

Posted by Paz on Stack Overflow See other posts from Stack Overflow or by Paz
Published on 2010-04-30T18:36:30Z Indexed on 2010/04/30 18:47 UTC
Read the original article Hit count: 198

Filed under:
|
|
|

Hi, what does the 0x80 code mean when referring to the keyboard controls in C++ Windows environment?

For example,

if(GetKeyState('K') & 0x80) { 
    //do something 
}

Thanks everyone!

© Stack Overflow or respective owner

Related posts about c++

Related posts about keyboard