Does this also work on non-rpi Linux? I just tried it on Debian, and I got:
cargo run -- /dev/input/event0
Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs
Running `target/debug/rustysnake /dev/input/event0`
Hello, world!
thread 'main' panicked at 'file not found: Error { repr: Os { code: 13, message: "Permission denied" } }', /checkout/src/libcore/result.rs:916:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.
But maybe this has to do with the controller used? (I don't have a SNES one, so I tried a steam controller and keyboard ...)
Does this also work on non-rpi Linux? I just tried it on Debian, and I got:
cargo run -- /dev/input/event0 Finished dev [unoptimized + debuginfo] target(s) in 0.0 secs Running `target/debug/rustysnake /dev/input/event0` Hello, world! thread 'main' panicked at 'file not found: Error { repr: Os { code: 13, message: "Permission denied" } }', /checkout/src/libcore/result.rs:916:5 note: Run with `RUST_BACKTRACE=1` for a backtrace.But maybe this has to do with the controller used? (I don't have a SNES one, so I tried a steam controller and keyboard ...)