-
-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
362 additions
and
191 deletions.
There are no files selected for viewing
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
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,14 @@ | ||
# Some References on how to develop things using uinput | ||
|
||
- uinput: https://www.kernel.org/doc/html/latest/input/uinput.html | ||
- event codes: https://www.kernel.org/doc/html/latest/input/event-codes.html | ||
- multi-touch protocol: https://www.kernel.org/doc/html/latest/input/multi-touch-protocol.html | ||
|
||
## Other projects using uinput | ||
- https://github.com/rfc2822/GfxTablet | ||
- https://github.com/bsteinsbo/rpi_touch_driver | ||
|
||
## Debugging | ||
- libinput debug-events | ||
- evtest | ||
|
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
use crate::protocol::PointerEvent; | ||
|
||
pub trait PointerDevice { | ||
pub trait InputDevice { | ||
fn send_event(&mut self, event: &PointerEvent); | ||
} |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
pub mod pointer; | ||
pub mod device; | ||
pub mod mouse_device; | ||
|
||
#[cfg(target_os = "linux")] | ||
|
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
Oops, something went wrong.