Home
last modified time | relevance | path

Searched refs:scalerange (Results 1 – 6 of 6) sorted by relevance

/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/devices/
H A Djoyprocess.cpp84 static UINT32 scalerange(UINT32 x, UINT32 in_min, UINT32 in_max, UINT32 out_min, UINT32 out_max) { in scalerange() function
124 Temp = scalerange(Temp, 0x3f + DeadZone, 0xbe - DeadZone, scalemin, scalemax); in ProcessAnalog()
128 Temp = scalerange(Temp, 0, 0x7f, linear_min, linear_max); in ProcessAnalog()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/devices/
H A Djoyprocess.cpp85 UINT32 scalerange(UINT32 x, UINT32 in_min, UINT32 in_max, UINT32 out_min, UINT32 out_max) { in scalerange() function
134 Temp = scalerange(Temp, 0x40 + DeadZone, 0xbf - DeadZone, scalemin, scalemax); in ProcessAnalog()
138 Temp = scalerange(Temp, 0, centerval, linear_min, linear_max); in ProcessAnalog()
H A Djoyprocess.h27 UINT32 scalerange(UINT32 x, UINT32 in_min, UINT32 in_max, UINT32 out_min, UINT32 out_max);
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/pre90s/
H A Dd_asteroids.cpp691 static UINT32 scalerange(UINT32 x, UINT32 in_min, UINT32 in_max, UINT32 out_min, UINT32 out_max) { in scalerange() function
715 Temp = scalerange(Temp, 0x00 + DeadZone, 0x3f - DeadZone, scalemin, scalemax); in ProcessAnalogLinear()
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/sega/
H A Dd_hangon.cpp1609 temp = scalerange(temp, 0x80, 0xff, 0x20, 0xff); in EndurorProcessAnalogControls()
1611 temp = scalerange(temp, 0x00, 0x80, 0x00, 0x20); in EndurorProcessAnalogControls()
H A Dd_segas32.cpp2238 analog_value[offset & 3] = scalerange(t, Sz[Player][0], 0xff, Sz[Player][1], 0xc1); in jpark_custom_io_write()
2240 analog_value[offset & 3] = scalerange(t, 0x00, Sz[Player][0], 0x3f, Sz[Player][1]); in jpark_custom_io_write()
2248 analog_value[offset & 3] = scalerange(analog_value[offset & 3], 0x00, 0xff, 0x3f, 0xc1); in jpark_custom_io_write()