
13-02-2005, 21:01
|
 |
 |
Registered User
AKA: Prabhas Pokharel
#0639 (Code Red)
Team Role: Programmer
|
|
Join Date: Dec 2004
Rookie Year: 2003
Location: Ithaca
Posts: 78
|
|
|
Re: joystick sensitivity
Quote:
|
Originally Posted by Alan Anderson
Negative numbers are not stored in sign-magnitude form. They are in "two's-complement" form. The value -1 masked with 0x7F yields a value of 127, a far cry from the expected 1.
|
For more information:
http://en.wikipedia.org/wiki/Negativ...tive_in_binary
http://en.wikipedia.org/wiki/Two%27s_complement
|