mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2024-12-04 15:35:32 +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:
parent
48129cdf8d
commit
7d28e495c2
@ -996,6 +996,7 @@ void BMPView::paint(Painter&) {
|
|||||||
bool BMPView::on_touch(const TouchEvent event) {
|
bool BMPView::on_touch(const TouchEvent event) {
|
||||||
/* the event thing were resolved by HTotoo, talked here https://discord.com/channels/719669764804444213/956561375155589192/1287756910950486027
|
/* 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
|
* 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()) {
|
if (!nav_.is_valid()) {
|
||||||
@ -1004,11 +1005,8 @@ bool BMPView::on_touch(const TouchEvent event) {
|
|||||||
|
|
||||||
switch (event.type) {
|
switch (event.type) {
|
||||||
case TouchEvent::Type::Start:
|
case TouchEvent::Type::Start:
|
||||||
return true;
|
|
||||||
|
|
||||||
case TouchEvent::Type::End:
|
|
||||||
handle_pop();
|
handle_pop();
|
||||||
return true;
|
return false;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
2
hackrf
2
hackrf
@ -1 +1 @@
|
|||||||
Subproject commit 22c9ff10f934695065b6f79f4d95b812b0ab8365
|
Subproject commit d4ed8474e532ccdbf605ee71c0f1fa0557da19e1
|
Loading…
Reference in New Issue
Block a user