#PPSP Input Plugin for N64
#by JayFoxRox and Adventus.
#These values specify the analog mapping:
N64 ANALOG=ANALOG LEFT
#These values specify the button mapping:
N64 DPAD UP=BUTTON DPAD UP
N64 DPAD DOWN=BUTTON DPAD DOWN
N64 DPAD LEFT=BUTTON DPAD LEFT
N64 DPAD RIGHT=BUTTON DPAD RIGHT
N64 A=BUTTON R
N64 B=ANALOG RIGHT DOWN : 64
N64 L=KBOARD 9
N64 R=KBOARD 0
N64 Z=BUTTON L
N64 C UP=BUTTON UP
N64 C DOWN=BUTTON DOWN
N64 C LEFT=BUTTON LEFT
N64 C RIGHT=BUTTON RIGHT
N64 START=BUTTON START
EXIT EMULATOR=KBOARD X
#These values specify the analog calibration function
#in = [0,255], out = [0, 255]
#out = in*v[0] + in^2 * v[1] + in^3 * v[2] ....
CALIB LEFT[0]=0.500000
CALIB LEFT[1]=0.500000
CALIB LEFT[2]=0.200000
CALIB LEFT[3]=0.200000
CALIB RIGHT[0]=0.500000
CALIB RIGHT[1]=0.500000
CALIB RIGHT[2]=0.200000
CALIB RIGHT[3]=0.200000