MCPcopy Create free account
hub / github.com/TASEmulators/desmume / NDS_getADCTouchPosX

Function NDS_getADCTouchPosX

desmume/src/NDSSystem.cpp:2895–2901  ·  view source on GitHub ↗

convert a 12.4 screen coordinate to an ADC value. the desmume host system will track the screen coordinate, but the hardware should be receiving the raw ADC values. so we'll need to use this to simulate the ADC values corresponding to the desired screen coords, based on the current TSC calibrations

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

NDS_applyFinalInputFunction · 0.85

Calls 1

minFunction · 0.50

Tested by

no test coverage detected