This is what I get for GetKeyState, try this:
1 = ON
0 = OFF
-127 = 1 (ON)
-128 = 0 (OFF)