-
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
macos: enable running lan-mouse on macos (#42)
* macos: initial support - adapted conditional compilation - moved lan-mouse socket to ~/Library/Caches/lan-mouse-socket.sock instead of XDG_RUNTIME_DIR - support for mouse input emulation TODO: Keycode translation, input capture
- Loading branch information
Showing
13 changed files
with
419 additions
and
21 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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,14 +1,17 @@ | ||
#[cfg(windows)] | ||
pub mod windows; | ||
|
||
#[cfg(all(unix, feature = "x11"))] | ||
#[cfg(all(unix, feature = "x11", not(target_os = "macos")))] | ||
pub mod x11; | ||
|
||
#[cfg(all(unix, feature = "wayland"))] | ||
#[cfg(all(unix, feature = "wayland", not(target_os = "macos")))] | ||
pub mod wlroots; | ||
|
||
#[cfg(all(unix, feature = "xdg_desktop_portal"))] | ||
#[cfg(all(unix, feature = "xdg_desktop_portal", not(target_os = "macos")))] | ||
pub mod xdg_desktop_portal; | ||
|
||
#[cfg(all(unix, feature = "libei"))] | ||
#[cfg(all(unix, feature = "libei", not(target_os = "macos")))] | ||
pub mod libei; | ||
|
||
#[cfg(target_os = "macos")] | ||
pub mod macos; |
Oops, something went wrong.