HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
MouseButtons.hpp
1// Copyright 2020 Pokitec
2// All rights reserved.
3
4#pragma once
5
6#include <cstdint>
7
8namespace tt {
9
11 uint8_t leftButton:1;
12 uint8_t middleButton:1;
13 uint8_t rightButton:1;
14 uint8_t x1Button:1;
15 uint8_t x2Button:1;
16 uint8_t controlKey:1;
17 uint8_t shiftKey:1;
18
19 MouseButtons() noexcept :
20 leftButton(false),
21 middleButton(false),
22 rightButton(false),
23 x1Button(false),
24 x2Button(false),
25 controlKey(false),
26 shiftKey(false)
27 {
28 }
29};
30
31}
Definition MouseButtons.hpp:10