libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
ControlDevice.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
5namespace Ship {
16 public:
21 ControlDevice(uint8_t portIndex);
22 virtual ~ControlDevice();
23
24 protected:
25 uint8_t mPortIndex;
26};
27} // namespace Ship
Abstract base class for all input devices that can be connected to a ControlPort.
Definition ControlDevice.h:15
virtual ~ControlDevice()
ControlDevice(uint8_t portIndex)
Constructs a ControlDevice bound to the given port.
uint8_t mPortIndex
Zero-based port index this device is connected to.
Definition ControlDevice.h:25
Core namespace for the libultraship engine framework.
Definition gfx_direct3d_common.h:14