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

Function getlightpen

src/inputdevice.cpp:7506–7515  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7504}
7505
7506static const int *getlightpen(int port, int submode)
7507{
7508 switch (submode)
7509 {
7510 case 1:
7511 return port ? ip_lightpen2_trojan : ip_lightpen1_trojan;
7512 default:
7513 return port ? ip_lightpen2 : ip_lightpen1;
7514 }
7515}
7516
7517static void setjoyinputs (struct uae_prefs *prefs, int port)
7518{

Callers 2

setjoyinputsFunction · 0.85
compatibility_copyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected