Lines Matching defs:pThis
804 wxJoystickThread* pThis = (wxJoystickThread*) context;
805 wxHIDJoystick* m_hid = pThis->m_hid;
815 if (pThis->TestDestroy())
851 pThis->m_buttons |= (1 << nIndex);
856 pThis->m_buttons &= ~(1 << nIndex);
864 pThis->m_lastposition.x = hidevent.value;
866 pThis->m_axe[0] = hidevent.value;
870 pThis->m_lastposition.y = hidevent.value;
872 pThis->m_axe[1] = hidevent.value;
877 pThis->m_axe[2] = hidevent.value;
889 wxevent.SetJoystick(pThis->m_joystick);
890 wxevent.SetButtonState(pThis->m_buttons);
891 wxevent.SetPosition(pThis->m_lastposition);
892 wxevent.SetZPosition(pThis->m_axe[2]);
893 wxevent.SetEventObject(pThis->m_catchwin);
895 if (pThis->m_catchwin)
896 pThis->m_catchwin->AddPendingEvent(wxevent);