InputDevice::GetInputDeviceType
Defined in:
Returns the type of an input device.
C4Input.h
Prototype
InputDeviceType GetInputDeviceType(void) const;
Description
The GetInputDeviceType
function returns the type of an input device, which can be one of the following values.
kInputDeviceMouse |
Mouse device. |
kInputDeviceKeyboard |
Keyboard device. |
kInputDeviceJoystick |
Joystick or other game device (desktop only). |
kInputDevicePlayStation |
PlayStation game controller device (PS5 and PS4 only). |
kInputDeviceXbox |
Xbox controller (Xbox and Windows only). |
See Also