Searched refs:pot_cap (Results 1 – 2 of 2) sorted by relevance
271 pot_cap[i][j] = restore_u16 (); in restore_input()287 save_u16 (pot_cap[i][j]); in save_input()2095 pot_cap[joy][idx] += charge; in charge_cap()2096 if (pot_cap[joy][idx] < 0) in charge_cap()2097 pot_cap[joy][idx] = 0; in charge_cap()2098 if (pot_cap[joy][idx] > 511) in charge_cap()2099 pot_cap[joy][idx] = 511; in charge_cap()2129 if (pot_cap[joy][i] < joypot) in cap_check()2300 if (pot_cap[i][0] > 100) in handle_joystick_potgor()2306 if (pot_cap[i][1] > 100) in handle_joystick_potgor()[all …]
393 pot_cap[i][j] = restore_u16 (); in restore_input()410 save_u16 (pot_cap[i][j]); in save_input()2998 pot_cap[joy][idx] += charge; in charge_cap()2999 if (pot_cap[joy][idx] < 0) in charge_cap()3000 pot_cap[joy][idx] = 0; in charge_cap()3001 if (pot_cap[joy][idx] > 511) in charge_cap()3002 pot_cap[joy][idx] = 511; in charge_cap()3032 if (pot_cap[joy][i] < joypot) in cap_check()3199 if (pot_cap[i][0] > 100) in handle_joystick_potgor()3205 if (pot_cap[i][1] > 100) in handle_joystick_potgor()[all …]