pixix4/ev3dev-lang-rust

How to detect status of the buttons on P-Brick?

Closed this issue · 4 comments

I didn't find any useful info, did I miss anything?

This is currently not possible. I plan to add this feature within the next week.

Thanks, this crate works pretty well, I successfully convert some existing Python programs into Rust, the overhead reduced to minimal.
And I hope you can add BrickPi support as well.

Thanks.

The library does now support querying the state of the brick buttons (see documentation).

The support for the BrickPi platform will take some time. Currently I don't own a BrickPi and so I can't do any tests.

Thanks a lot for the update, just verified and it worked like a charm.