-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Macos support #652
Macos support #652
Conversation
…ed, probably it needs to be handled in a cleaner way from driverkit instead
This allows a user to define devices using a sexpr list. The old way (colon separated string) is not removed for compatibility.
Just wanted to stop by to say how excited I am to see this! Thank you very much for working on it. |
src/oskbd/macos.rs
Outdated
/// Send using C-S-u + <unicode hex number> + spc | ||
pub fn send_unicode(&mut self, c: char) -> Result<(), io::Error> { | ||
log::debug!("sending unicode {c}"); | ||
todo!(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's also fine to not implement this yet - maybe macos doesn't even have any unicode output solution?
If left unimplemented, I wonder if it's better to have a log::error!
call rather than panic with a todo
... I don't feel too strongly either way for now.
I attempted to build it on the latest macOS version on a M1 and got this error:
Not sure if relevant to the PR or just something on my machine. I am using the sold linker. UPDATE: Builds fine if I don't use the sold linker. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the great work!
Closes #34
Checklist