Fix Gamecube Y axis orientation

This commit is contained in:
Raphael Assenat 2015-10-17 17:44:02 -04:00
parent 39e7ba9d49
commit 7d8cf00a14
1 changed files with 2 additions and 2 deletions

View File

@ -102,10 +102,10 @@ static void buildReportFromGC(const gc_pad_data *gc_data, unsigned char dstbuf[R
/* Scale -100 ... + 1000 to -16000 ... +16000 */
xval *= 160;
yval *= 160;
yval *= -160;
// TODO : Is C-stick different?
cxval *= 160;
cyval *= 160;
cyval *= -160;
/* Scane 0...255 to 0...16000 */
ltrig *= 63;