Skip to content

Commit 7170164

Browse files
committed
pybricks.hubs.EV3Brick: Fix missing cancel button.
Fixes pybricks/support#2592
1 parent 9688a21 commit 7170164

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,19 @@
44

55
## [Unreleased]
66

7+
### Added
8+
- Added supporters to EV3 closing credits.
9+
710
### Fixed
811
- Fixed EV3 screen animation not closing on user display actions ([support#2585]).
912
- Fixed EV3 Touch Sensor not detected it is pressed while plugged in ([support#2589]).
1013
- Fixed EV3 Large and Medium Motors sometimes not detected ([support#2536]).
14+
- Fixed EV3 left up button not detected ([support#2592]).
1115

1216
[support#2536]: https://github.com/pybricks/support/issues/2536
1317
[support#2585]: https://github.com/pybricks/support/issues/2585
1418
[support#2589]: https://github.com/pybricks/support/issues/2589
19+
[support#2592]: https://github.com/pybricks/support/issues/2592
1520

1621
## [4.0.0b6] - 2026-02-19
1722

pybricks/hubs/pb_type_ev3brick.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ static mp_obj_t pb_type_ev3brick_button_pressed(mp_obj_t parent_obj) {
4343
if (flags & PBIO_BUTTON_DOWN) {
4444
pressed[num++] = pb_type_button_new(MP_QSTR_DOWN);
4545
}
46+
if (flags & PBIO_BUTTON_LEFT_UP) {
47+
pressed[num++] = pb_type_button_new(MP_QSTR_LEFT_UP);
48+
}
4649
return mp_obj_new_set(num, pressed);
4750
}
4851

0 commit comments

Comments
 (0)