鼠标按键
cpp
enum class RX784::Button : uint8_t {
kLeft,
kRight,
kMiddle,
kButton4,
kButton5
};
enum class RX784::Button : uint8_t {
kLeft,
kRight,
kMiddle,
kButton4,
kButton5
};
e
常量名称 常量值 公开 备注 鼠标左键 0 ✔ 鼠标右键 1 ✔ 鼠标中键 2 ✔ 鼠标键4 3 ✔ 鼠标键5 4 ✔
.版本 2
.常量 鼠标左键, "0", 公开
.常量 鼠标右键, "1", 公开
.常量 鼠标中键, "2", 公开
.常量 鼠标键4, "3", 公开
.常量 鼠标键5, "4", 公开
py
class Button(IntEnum):
LEFT = 0
RIGHT = 1
MIDDLE = 2
BUTTON4 = 3
BUTTON5 = 4
class Button(IntEnum):
LEFT = 0
RIGHT = 1
MIDDLE = 2
BUTTON4 = 3
BUTTON5 = 4