binds: add drag_threshold for click/drag isolation (#9839)
--------- Co-authored-by: Leeman <lstrout@enlj.com>
This commit is contained in:
parent
0399e64274
commit
6538970087
7 changed files with 103 additions and 41 deletions
|
|
@ -39,6 +39,8 @@ struct SKeybind {
|
|||
bool multiKey = false;
|
||||
bool hasDescription = false;
|
||||
bool dontInhibit = false;
|
||||
bool click = false;
|
||||
bool drag = false;
|
||||
|
||||
// DO NOT INITIALIZE
|
||||
bool shadowed = false;
|
||||
|
|
@ -62,6 +64,7 @@ struct SPressedKeyWithMods {
|
|||
uint32_t modmaskAtPressTime = 0;
|
||||
bool sent = false;
|
||||
std::string submapAtPress = "";
|
||||
Vector2D mousePosAtPress = {};
|
||||
};
|
||||
|
||||
struct SParsedKey {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue