Home
last modified time | relevance | path

Searched refs:X_center (Results 1 – 2 of 2) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/src/joystick12/
Djoystick12.cxx38 const int Joystick12::X_center = 1610; member in Joystick12
79 if (in < X_center) return -(X_center - in) / (X_center - X_left); in getXInput()
80 if (in == X_center) return 0; in getXInput()
81 if (in < X_right) return (in - X_center) / (X_right - X_center); in getXInput()
Djoystick12.h90 static const int X_center; variable