void HandleTouch(MessageTouch data) { int index = data.id * 2; axes[AXIS_TOUCH_X + index] = (float)data.x / 500.0f - 1.0f; axes[AXIS_TOUCH_Y + index] = (float)data.y / 500.0f - 1.0f; }