Home
last modified time | relevance | path

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

/hardware/bsp/intel/peripheral/libupm/src/joystick12/
Djoystick12.cxx42 const int Joystick12::Y_center = 1610; member in Joystick12
90 if (in < Y_center) return -(Y_center - in) / (Y_center - Y_left); in getYInput()
91 if (in == Y_center) return 0; in getYInput()
92 if (in < Y_right) return (in - Y_center) / (Y_right - Y_center); in getYInput()
Djoystick12.h93 static const int Y_center; variable