input_common: Create input poller and mapping

This commit is contained in:
german77 2021-09-20 16:41:15 -05:00 committed by Narr the Reg
parent ea7b1fbc67
commit 854c933716
6 changed files with 1305 additions and 0 deletions

View file

@ -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