Hal Canary | ff2e8fe | 2019-07-16 09:58:43 -0400 | [diff] [blame] | 1 | // Copyright 2019 Google LLC. |
| 2 | // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. |
Hal Canary | b1f411a | 2019-08-29 10:39:22 -0400 | [diff] [blame] | 3 | #ifndef skui_inputstate_DEFINED |
| 4 | #define skui_inputstate_DEFINED |
| 5 | namespace skui { |
Hal Canary | ff2e8fe | 2019-07-16 09:58:43 -0400 | [diff] [blame] | 6 | enum class InputState { |
| 7 | kDown, |
| 8 | kUp, |
Jim Van Verth | d0cf5da | 2019-09-09 16:53:39 -0400 | [diff] [blame] | 9 | kMove, // only valid for mouse |
| 10 | kRight, // only valid for fling |
| 11 | kLeft, // only valid for fling |
Hal Canary | ff2e8fe | 2019-07-16 09:58:43 -0400 | [diff] [blame] | 12 | }; |
John Stiles | a6841be | 2020-08-06 14:11:56 -0400 | [diff] [blame] | 13 | } // namespace skui |
Hal Canary | b1f411a | 2019-08-29 10:39:22 -0400 | [diff] [blame] | 14 | #endif // skui_inputstate_DEFINED |