libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
ControllerMapping.h
Go to the documentation of this file.
1#pragma once
2
3#include <string>
5
6namespace Ship {
7
8#define MAPPING_TYPE_UNKNOWN -1
9#define MAPPING_TYPE_GAMEPAD 0
10#define MAPPING_TYPE_KEYBOARD 1
11#define MAPPING_TYPE_MOUSE 2
12
44} // namespace Ship
Base class for all controller mappings.
Definition ControllerMapping.h:20
PhysicalDeviceType mPhysicalDeviceType
Definition ControllerMapping.h:42
PhysicalDeviceType GetPhysicalDeviceType()
Returns the physical device type for this mapping.
virtual std::string GetPhysicalDeviceName()
Returns a human-readable name for the physical device associated with this mapping.
ControllerMapping(PhysicalDeviceType physicalDeviceType)
Constructs a ControllerMapping for the given physical device type.
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14
PhysicalDeviceType
Identifies the category of a physical input device.
Definition PhysicalDeviceType.h:11