1
0
mirror of https://github.com/raphnet/gc_n64_usb-v3 synced 2024-08-13 17:03:49 -04:00

Fix Gamecube Y axis orientation

This commit is contained in:
Raphael Assenat 2015-10-17 17:44:02 -04:00
parent 39e7ba9d49
commit 7d8cf00a14

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;