Skip to content

Commit 60d598c

Browse files
committed
Add note about remote two-button limit
1 parent 43df355 commit 60d598c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

ev3dev2/sensor/lego.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,8 @@ def beacon(self, channel=1):
825825
def buttons_pressed(self, channel=1):
826826
"""
827827
Returns list of currently pressed buttons.
828+
829+
Note that the sensor can only identify up to two buttons pressed at once.
828830
"""
829831
self._ensure_mode(self.MODE_IR_REMOTE)
830832
channel = self._normalize_channel(channel)

0 commit comments

Comments
 (0)