diff options
| author | 2022-01-16 18:03:11 -0600 | |
|---|---|---|
| committer | 2022-01-16 20:37:34 -0600 | |
| commit | 9eab07f86370eb97eb6e87624163ae07fb055ac9 (patch) | |
| tree | 1a6a123331324404cd64dd6622ac191a76e6bd4e /src/common | |
| parent | Merge pull request #7713 from gidoly/patch-3 (diff) | |
| download | yuzu-9eab07f86370eb97eb6e87624163ae07fb055ac9.tar.gz yuzu-9eab07f86370eb97eb6e87624163ae07fb055ac9.tar.xz yuzu-9eab07f86370eb97eb6e87624163ae07fb055ac9.zip | |
input_common: Reintroduce motion from mouse and use button names
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/input.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/common/input.h b/src/common/input.h index f775a4c01..f4f9eb30a 100644 --- a/src/common/input.h +++ b/src/common/input.h | |||
| @@ -209,6 +209,13 @@ enum class ButtonNames { | |||
| 209 | Triangle, | 209 | Triangle, |
| 210 | Share, | 210 | Share, |
| 211 | Options, | 211 | Options, |
| 212 | |||
| 213 | // Mouse buttons | ||
| 214 | ButtonMouseWheel, | ||
| 215 | ButtonBackward, | ||
| 216 | ButtonForward, | ||
| 217 | ButtonTask, | ||
| 218 | ButtonExtra, | ||
| 212 | }; | 219 | }; |
| 213 | 220 | ||
| 214 | // Callback data consisting of an input type and the equivalent data status | 221 | // Callback data consisting of an input type and the equivalent data status |