MCPcopy Create free account
hub / github.com/android/ndk-samples / DeviceMotionRange

Class DeviceMotionRange

endless-tunnel/app/src/main/cpp/input_util.cpp:25–29  ·  view source on GitHub ↗

cached device motion ranges

Source from the content-addressed store, hash-verified

23
24// cached device motion ranges
25struct DeviceMotionRange {
26 int deviceId;
27 int source;
28 float minX, maxX, minY, maxY;
29};
30#define MOTION_RANGE_CACHE_MAX 128
31struct DeviceMotionRange _motion_range_cache[MOTION_RANGE_CACHE_MAX];
32int _motion_range_cache_items = 0;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected