Controller: Add method for reading analog input bytes

This commit is contained in:
Albert Liu
2021-01-03 22:54:16 -08:00
parent 4cc2883224
commit 5ff3299384
8 changed files with 36 additions and 0 deletions

View File

@ -54,6 +54,9 @@ public:
/// Returns a bitmask of the current button states, 1 = on.
virtual u32 GetButtonStateBits() const;
/// Returns analog input bytes packed as a u32. Values are specific to controller type.
virtual std::optional<u32> GetAnalogInputBytes() const;
/// Returns the number of vibration motors.
virtual u32 GetVibrationMotorCount() const;