What's new

Blight SDL Joystick sensitivity

bruciemoose

New member
Hi. I'm a new poster.

I'm trying to get Blight's SDL plugin to react to the full range on the joystick of a real N64 pad using the Boom N64+PS2 converter. Mario is currently walking at the full range of the joystick, rather than running...

Having looked at plugin.c I reckon I need to edit the GetKeys function to spit out some inflated values. Unfortunately I have little clue how to do this as I've never coded in C before ;)

Would anybody be kind enough to point me in the right direction? Otherwise, can the sensitivity of the X and Y axis be changed in the blight_input.conf?

Desperate to make this work!

Andrew Bruce
 

blight

New member
usually on a pc the axis values are 32767 to -32767 (or -32768) - on the N64 it is 80 to -80 so i devide the value from the system by 409 iirc which will result in a value 80 to -80 which the games will need... if you have confgured your joystick/gamepad right, then it should work!
 
OP
B

bruciemoose

New member
aha

Sorry... I hadn't found the jscal program in the debian "joystick" package. All solved now! Recompiling code to calibrate a joystick would have been silly...

Cheers for the reply anyway.
 

Top