View Single Post
Old May 7th, 2008   #263 (permalink)
ChickenLiver
Plugin author
 
Join Date: Apr 2006
Location: Perdition
Posts: 560
PS2 controllers send a 1-byte value from -128 to 127. It's unclear exactly where the center is. I've seen claims it's exactly 0, claims it's exactly -1, and claims its in between. It might even depend on the game. I've tried all 3 and haven't noticed any difference. I'm currently using 0 because that's what the other pad plugins use.

Edit: Part of the problem could be I just use an integer cast to round, and it rounds positive and negative numbers slightly differently, I believe.
ChickenLiver is offline   Reply With Quote