Skip to content

issues Search Results · repo:arcnmx/input-linux-rs language:Rust

Filter by

8 results
 (70 ms)

8 results

inarcnmx/input-linux-rs (press backspace or delete to remove)

In C++ a evdev poll loop can be written relatively easily, by simply pulling events one-by-one. input_event event{}; while (true) { bool event_available = read(fd, event, sizeof(input_event)) == sizeof(input_event); ...
  • bluenote10
  • 1
  • Opened 
    on Oct 22, 2023
  • #13

The bitmask/enum_iterator utils really don t belong in this repo. Ideally a crate like enumflags would serve their purpose, but at the time it wasn t generic enough to work with backing data structures ...
  • arcnmx
  • Opened 
    on Nov 14, 2021
  • #12

The rust 2021 edition is now out, so it makes sense to upgrade to the 2018 edition of the language. Most newcomers will no longer be familiar with the 2015 edition specific syntax (like extern crate ____). ...
  • maxbla
  • 1
  • Opened 
    on Nov 10, 2021
  • #10

It would be nifty if there were a library function that set all the bits of a UInputHandle so they matched the bits of a EvdevHandle. I set out trying to do this myself and learned that I don t really ...
  • maxbla
  • 2
  • Opened 
    on Oct 25, 2021
  • #8

Currently, EvdevHandle relies on the user keeping the original file descriptor open while it s alive. This is very odd, since no fd wrapper in std requires this and it requires storing 2 objects instead ...
  • jonas-schievink
  • 2
  • Opened 
    on Nov 22, 2018
  • #6

Or is converter to std::io::Error enough?
  • vi
  • 2
  • Opened 
    on Oct 10, 2018
  • #4

error[E0308]: mismatched types -- /home/vi/.cargo/registry/src/github.com-1ecc6299db9ec823/input-linux-0.0.1/src/time.rs:26:21 ...
  • vi
  • 8
  • Opened 
    on Oct 10, 2018
  • #2

I like the coverage of both evdev and uinput functionality in one package, but I miss a way to create events from names akin to evdev_rs::enums::EventType::from_str. Is there one?
  • t184256
  • 7
  • Opened 
    on Jul 21, 2018
  • #1
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub