Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_ISystem.h
| Show First 20 Lines • Show All 391 Lines • ▼ Show 20 Lines | public: | ||||
| /** | /** | ||||
| * Returns the state of a mouse button (ouside the message queue). | * Returns the state of a mouse button (ouside the message queue). | ||||
| * \param mask The button state to retrieve. | * \param mask The button state to retrieve. | ||||
| * \param isDown Button state. | * \param isDown Button state. | ||||
| * \return Indication of success. | * \return Indication of success. | ||||
| */ | */ | ||||
| virtual GHOST_TSuccess getButtonState(GHOST_TButtonMask mask, bool& isDown) const = 0; | virtual GHOST_TSuccess getButtonState(GHOST_TButtonMask mask, bool& isDown) const = 0; | ||||
| /** | |||||
| * Set which tablet API to use. Only affects Windows, other platforms have a single API. | |||||
| * \param api Enum indicating which API to use. | |||||
| */ | |||||
| virtual void setTabletAPI(GHOST_TTabletAPI api) = 0; | |||||
| #ifdef WITH_INPUT_NDOF | #ifdef WITH_INPUT_NDOF | ||||
| /** | /** | ||||
| * Sets 3D mouse deadzone | * Sets 3D mouse deadzone | ||||
| * \param deadzone: Deadzone of the 3D mouse (both for rotation and pan) relative to full range | * \param deadzone: Deadzone of the 3D mouse (both for rotation and pan) relative to full range | ||||
| */ | */ | ||||
| virtual void setNDOFDeadZone(float deadzone) = 0; | virtual void setNDOFDeadZone(float deadzone) = 0; | ||||
| #endif | #endif | ||||
| ▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines | |||||