|
libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
|
Base class for mappings that bind a mouse scroll-wheel direction to any controller input. More...
#include <MouseWheelToAnyMapping.h>
Public Member Functions | |
| MouseWheelToAnyMapping (WheelDirection wheelDirection) | |
| Constructs a mouse-wheel mapping for the given scroll direction. | |
| virtual | ~MouseWheelToAnyMapping () |
| Destructor. | |
| std::string | GetPhysicalInputName () override |
| Returns the human-readable name of the bound wheel direction. | |
| std::string | GetPhysicalDeviceName () override |
| Returns the human-readable name of the mouse device. | |
Public Member Functions inherited from Ship::ControllerInputMapping | |
| ControllerInputMapping (PhysicalDeviceType physicalDeviceType) | |
| Constructs a ControllerInputMapping for the given physical device type. | |
| ~ControllerInputMapping () | |
Public Member Functions inherited from Ship::ControllerMapping | |
| ControllerMapping (PhysicalDeviceType physicalDeviceType) | |
| Constructs a ControllerMapping for the given physical device type. | |
| ~ControllerMapping () | |
| PhysicalDeviceType | GetPhysicalDeviceType () |
| Returns the physical device type for this mapping. | |
Protected Attributes | |
| WheelDirection | mWheelDirection |
Protected Attributes inherited from Ship::ControllerMapping | |
| PhysicalDeviceType | mPhysicalDeviceType |
Base class for mappings that bind a mouse scroll-wheel direction to any controller input.
Provides shared wheel-direction storage and physical device/input name reporting. Concrete subclasses add the target input semantics (button or axis direction).
| Ship::MouseWheelToAnyMapping::MouseWheelToAnyMapping | ( | WheelDirection | wheelDirection | ) |
Constructs a mouse-wheel mapping for the given scroll direction.
| wheelDirection | The scroll-wheel direction to bind. |
|
virtual |
Destructor.
|
overridevirtual |
Returns the human-readable name of the mouse device.
Reimplemented from Ship::ControllerMapping.
Reimplemented in Ship::MouseWheelToAxisDirectionMapping, and Ship::MouseWheelToButtonMapping.
|
overridevirtual |
Returns the human-readable name of the bound wheel direction.
Reimplemented from Ship::ControllerInputMapping.
Reimplemented in Ship::MouseWheelToAxisDirectionMapping, and Ship::MouseWheelToButtonMapping.
|
protected |