input_common: Create input poller and mapping
This commit is contained in:
parent
ea7b1fbc67
commit
854c933716
6 changed files with 1305 additions and 0 deletions
|
@ -38,6 +38,9 @@ namespace Polling {
|
|||
|
||||
enum class DeviceType { Button, AnalogPreferred, Motion };
|
||||
|
||||
/// Type of input desired for mapping purposes
|
||||
enum class InputType { None, Button, Stick, Motion, Touch };
|
||||
|
||||
/**
|
||||
* A class that can be used to get inputs from an input device like controllers without having to
|
||||
* poll the device's status yourself
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue