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

Function getbuttonstate

src/inputdevice.cpp:3403–3406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3401}
3402
3403static int getbuttonstate (int joy, int button)
3404{
3405 return (joybutton[joy] & (1 << button)) ? 1 : 0;
3406}
3407
3408static int pc_mouse_buttons[MAX_JPORTS];
3409

Callers 5

inputdevice.cppFile · 0.85
handle_parport_joystickFunction · 0.85
cap_checkFunction · 0.85
handle_joystick_buttonsFunction · 0.85
handle_joystick_potgorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected