ev3dev / ev3dev-lang

(deprecated) language bindings for ev3dev sensors, motors, LEDs, etc.
GNU General Public License v2.0
56 stars 39 forks source link

How to implement Button Class #155

Closed mob41 closed 8 years ago

mob41 commented 8 years ago

While I am reading about the button class in the language wrapper specification, the description about this class just wrote "in the 'platform' section". I couldn't understand about it.

But though @rhempel 's python code code.py#1830. The ButtonBase class is implemented with button pressing. Is there another language specification behind?

Is that means we have to access the button pressing event from the linux-side?

mob41 commented 8 years ago

Solved. http://www.ev3dev.org/docs/tutorials/using-ev3-buttons/