| 1 | // LAF OS Library |
| 2 | // Copyright (C) 2016-2017 David Capello |
| 3 | // |
| 4 | // This file is released under the terms of the MIT license. |
| 5 | // Read LICENSE.txt for more information. |
| 6 | |
| 7 | #ifndef OS_POINTER_TYPE_H_INCLUDED |
| 8 | #define OS_POINTER_TYPE_H_INCLUDED |
| 9 | #pragma once |
| 10 | |
| 11 | namespace os { |
| 12 | |
| 13 | // Source of a mouse like event |
| 14 | enum class PointerType { |
| 15 | Unknown, |
| 16 | Mouse, // A regular mouse |
| 17 | Touchpad, // Touchpad/trackpad |
| 18 | Touch, // Touch screen |
| 19 | Pen, // Stylus pen |
| 20 | Cursor, // Puck like device |
| 21 | Eraser // Eraser end of a stylus pen |
| 22 | }; |
| 23 | |
| 24 | } // namespace os |
| 25 | |
| 26 | #endif |
| 27 | |