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

Function iscd32

src/inputdevice.cpp:6705–6716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6703*/
6704
6705static int iscd32 (int ei)
6706{
6707 if (ei >= INPUTEVENT_JOY1_CD32_FIRST && ei <= INPUTEVENT_JOY1_CD32_LAST) {
6708 cd32_pad_enabled[0] = 1;
6709 return 1;
6710 }
6711 if (ei >= INPUTEVENT_JOY2_CD32_FIRST && ei <= INPUTEVENT_JOY2_CD32_LAST) {
6712 cd32_pad_enabled[1] = 1;
6713 return 2;
6714 }
6715 return 0;
6716}
6717
6718static int isparport (int ei)
6719{

Callers 2

check_enableFunction · 0.85
scaneventsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected