mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-10 21:31:29 +03:00
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
This commit is contained in:
committed by
GitHub
parent
5a7e0cf89c
commit
e3f9947284
@@ -3,6 +3,11 @@ use std::{
|
||||
fmt::{self, Display},
|
||||
};
|
||||
|
||||
// FIXME
|
||||
pub(crate) const BTN_LEFT: u32 = 0x110;
|
||||
pub(crate) const BTN_RIGHT: u32 = 0x111;
|
||||
pub(crate) const BTN_MIDDLE: u32 = 0x112;
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
pub enum PointerEvent {
|
||||
Motion {
|
||||
|
||||
Reference in New Issue
Block a user