mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-30 04:50:11 +08:00
[fix] use relative percentage-based mouse mapping instead of absolute positions
This commit is contained in:
@@ -28,8 +28,8 @@ typedef enum {
|
||||
} MouseFlag;
|
||||
typedef enum { key_down = 0, key_up } KeyFlag;
|
||||
typedef struct {
|
||||
int x;
|
||||
int y;
|
||||
float x;
|
||||
float y;
|
||||
int s;
|
||||
MouseFlag flag;
|
||||
} Mouse;
|
||||
|
||||
Reference in New Issue
Block a user