mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-08-12 11:37:38 +00:00
workaround for no-touchscreen device (#2301)
* just return un-consumed * submodule ver * submodule ver * merge from upstram next * revert submodule ver * revert submodule ver
This commit is contained in:

committed by
GitHub

parent
48129cdf8d
commit
7d28e495c2
@@ -996,6 +996,7 @@ void BMPView::paint(Painter&) {
|
||||
bool BMPView::on_touch(const TouchEvent event) {
|
||||
/* the event thing were resolved by HTotoo, talked here https://discord.com/channels/719669764804444213/956561375155589192/1287756910950486027
|
||||
* the touch screen policy can be better, talked here https://discord.com/channels/719669764804444213/956561375155589192/1198926225897443328
|
||||
* this workaround discussed here: https://discord.com/channels/719669764804444213/1170738202924044338/1295630640158478418
|
||||
*/
|
||||
|
||||
if (!nav_.is_valid()) {
|
||||
@@ -1004,11 +1005,8 @@ bool BMPView::on_touch(const TouchEvent event) {
|
||||
|
||||
switch (event.type) {
|
||||
case TouchEvent::Type::Start:
|
||||
return true;
|
||||
|
||||
case TouchEvent::Type::End:
|
||||
handle_pop();
|
||||
return true;
|
||||
return false;
|
||||
|
||||
default:
|
||||
break;
|
||||
|
2
hackrf
2
hackrf
Submodule hackrf updated: 22c9ff10f9...d4ed8474e5
Reference in New Issue
Block a user