UserInputType
描述
消隐层
枚举
UserInputType | ||
---|---|---|
名称 | 值 | 描述 |
MouseButton1 | 1 | 鼠标左键 |
MouseButton2 | 2 | 鼠标右键 |
MouseButton3 | 3 | 鼠标中键 |
MouseWheel | 4 | 鼠标滚轮滚动 |
MouseMovement | 5 | 鼠标移动 |
MouseOut | 6 | 鼠标离开 |
MouseIn | 7 | 鼠标进入 |
Touch | 8 | 触摸 |
MouseIdle | 9 | 鼠标空闲 |
MouseDelta | 10 | 上一个鼠标事件与当前鼠标事件之间指针位置的差异 |
Keyboard | 11 | 键盘 |
ACCELEROMETER | 12 | 加速仪 |
GYRO | 13 | GYRO |
GamePad1 | 14 | GamePad1 |
GamePad2 | 15 | GamePad2 |
GamePad3 | 16 | GamePad3 |
GamePad4 | 17 | GamePad4 |
GamePad5 | 18 | GamePad5 |
GamePad6 | 19 | GamePad6 |
GamePad7 | 20 | GamePad7 |
GamePad8 | 21 | GamePad8 |
GetFocus | 22 | 获取鼠标焦点 |
LostFocus | 23 | 失去鼠标焦点 |
TextInput | 24 | 文字输入 |
WinSize | 25 | 窗口大小 |