-
-
Notifications
You must be signed in to change notification settings - Fork 842
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add json/input_event_queue/mouse_basic_1.jsonc
- Loading branch information
Showing
4 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
13 changes: 13 additions & 0 deletions
13
..._to_virtual_devices/json/expected_post_event_to_virtual_devices_queue/mouse_basic_1.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[ | ||
{ | ||
"pointing_input": { | ||
"buttons": [], | ||
"horizontal_wheel": 10, | ||
"vertical_wheel": 236, | ||
"x": 30, | ||
"y": 40 | ||
}, | ||
"time_stamp": 2, | ||
"type": "pointing_input" | ||
} | ||
] |
30 changes: 30 additions & 0 deletions
30
tests/src/post_event_to_virtual_devices/json/input_event_queue/mouse_basic_1.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[ | ||
{ | ||
"device_id": 1, | ||
"event": { | ||
"pointing_motion": { | ||
"horizontal_wheel": 10, | ||
"vertical_wheel": 20, | ||
"x": 30, | ||
"y": 40 | ||
}, | ||
"type": "pointing_motion" | ||
}, | ||
"event_origin": "grabbed_device", | ||
"event_time_stamp": { | ||
"time_stamp": 2 | ||
}, | ||
"event_type": "single", | ||
"lazy": false, | ||
"original_event": { | ||
"pointing_motion": { | ||
"horizontal_wheel": 10, | ||
"vertical_wheel": 20, | ||
"x": 30, | ||
"y": 40 | ||
}, | ||
"type": "pointing_motion" | ||
}, | ||
"validity": true | ||
} | ||
] |
7 changes: 7 additions & 0 deletions
7
tests/src/post_event_to_virtual_devices/json/rules/mouse_basic.jsonc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
[ | ||
{ | ||
"description": "flip vertical_wheel", | ||
"type": "mouse_basic", | ||
"flip": ["vertical_wheel"] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters