2019-07-16 13:58:43 +00:00
|
|
|
// Copyright 2019 Google LLC.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
2019-08-29 14:39:22 +00:00
|
|
|
#ifndef skui_inputstate_DEFINED
|
|
|
|
#define skui_inputstate_DEFINED
|
|
|
|
namespace skui {
|
2019-07-16 13:58:43 +00:00
|
|
|
enum class InputState {
|
|
|
|
kDown,
|
|
|
|
kUp,
|
2019-09-09 20:53:39 +00:00
|
|
|
kMove, // only valid for mouse
|
|
|
|
kRight, // only valid for fling
|
|
|
|
kLeft, // only valid for fling
|
2019-07-16 13:58:43 +00:00
|
|
|
};
|
2019-08-29 14:39:22 +00:00
|
|
|
}
|
|
|
|
#endif // skui_inputstate_DEFINED
|