mirror of
https://github.com/raphnet/gc_n64_usb-v3
synced 2024-12-21 23:08:53 -05:00
Fix Gamecube Y axis orientation
This commit is contained in:
parent
39e7ba9d49
commit
7d8cf00a14
4
usbpad.c
4
usbpad.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user