Narsil / rdev

Simple library to listen and send events to keyboard and mouse (MacOS, Windows, Linux)
MIT License
493 stars 119 forks source link

Using `listen` in Cocoa application #75

Open Sergei1984 opened 2 years ago

Sergei1984 commented 2 years ago

I've tried to use listen in Cocoa application (using https://github.com/ryanmcgrath/cacao)

Application run in segmentation fault on first run, outputs

     Running `target/debug/lightswitch`
[1]    10513 trace trap  RUST_BACKTRACE=1 cargo run

Example: https://github.com/Sergei1984/lightswitch/tree/rdev-example

Sergei1984 commented 2 years ago

https://github.com/Narsil/rdev/pull/76