MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / cd32padmode

Function cd32padmode

src/inputdevice.cpp:3831–3834  ·  view source on GitHub ↗

p5 (3rd button) is 1 or floating = cd32 2-button mode */

Source from the content-addressed store, hash-verified

3829
3830/* p5 (3rd button) is 1 or floating = cd32 2-button mode */
3831static bool cd32padmode(int joy)
3832{
3833 return pot_cap[joy][0] <= 100;
3834}
3835
3836static bool is_joystick_pullup (int joy)
3837{

Callers 4

cap_checkFunction · 0.85
handle_joystick_buttonsFunction · 0.85
handle_cd32_joystick_ciaFunction · 0.85
handle_joystick_potgorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected