We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52f11d6 commit 3885091Copy full SHA for 3885091
2 files changed
CHANGELOG.md
@@ -6,6 +6,10 @@
6
7
[Unreleased]: https://github.com/pybricks/pybricks-micropython/compare/v4.0.0b11...HEAD
8
9
+### Fixed
10
+- Fixed button `LEFT_DOWN` returning `LEFT_UP` in the method
11
+ `ev3devices.InfraredSensor.keypad()` ([support#2724]).
12
+
13
## [4.0.0b11] - 2026-05-30
14
15
### Added
pybricks/ev3devices/pb_type_ev3devices_infraredsensor.c
@@ -167,7 +167,7 @@ static mp_obj_t ev3devices_InfraredSensor_keypad(mp_obj_t self_in) {
167
pressed[len++] = pb_type_button_new(MP_QSTR_LEFT_UP);
168
}
169
if (keypad_data & 0x20) {
170
- pressed[len++] = pb_type_button_new(MP_QSTR_LEFT_UP);
+ pressed[len++] = pb_type_button_new(MP_QSTR_LEFT_DOWN);
171
172
if (keypad_data & 0x40) {
173
pressed[len++] = pb_type_button_new(MP_QSTR_RIGHT_UP);
0 commit comments