diff options
| author | 2020-07-07 12:20:59 -0400 | |
|---|---|---|
| committer | 2020-07-07 12:20:59 -0400 | |
| commit | b57475887be5879347d5fda425676d0bd2e2a3d3 (patch) | |
| tree | 92f0b09499d1a7b89d0ec9093bd3be4462871210 /src/input_common/gcadapter/gc_adapter.h | |
| parent | Brace the code! Fix compile error due to class member construction order (diff) | |
| download | yuzu-b57475887be5879347d5fda425676d0bd2e2a3d3.tar.gz yuzu-b57475887be5879347d5fda425676d0bd2e2a3d3.tar.xz yuzu-b57475887be5879347d5fda425676d0bd2e2a3d3.zip | |
Address PR feedback, fix axis button thresholding
Diffstat (limited to 'src/input_common/gcadapter/gc_adapter.h')
| -rw-r--r-- | src/input_common/gcadapter/gc_adapter.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/input_common/gcadapter/gc_adapter.h b/src/input_common/gcadapter/gc_adapter.h index 8b08d667d..cb9d73a8e 100644 --- a/src/input_common/gcadapter/gc_adapter.h +++ b/src/input_common/gcadapter/gc_adapter.h | |||
| @@ -96,8 +96,7 @@ public: | |||
| 96 | std::array<GCState, 4>& GetPadState(); | 96 | std::array<GCState, 4>& GetPadState(); |
| 97 | const std::array<GCState, 4>& GetPadState() const; | 97 | const std::array<GCState, 4>& GetPadState() const; |
| 98 | 98 | ||
| 99 | int GetOriginValue(int port, int axis); | 99 | int GetOriginValue(int port, int axis) const; |
| 100 | const int GetOriginValue(int port, int axis) const; | ||
| 101 | 100 | ||
| 102 | private: | 101 | private: |
| 103 | GCPadStatus GetPadStatus(int port, const std::array<u8, 37>& adapter_payload); | 102 | GCPadStatus GetPadStatus(int port, const std::array<u8, 37>& adapter_payload); |