Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
F
firmware
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
card10
firmware
Merge requests
!433
The source project of this merge request has been removed.
Simple Menu
Merged
Simple Menu
(removed):Pixtxa-master-patch-27969
into
master
Overview
1
Commits
11
Pipelines
0
Changes
1
Merged
Pixtxa
requested to merge
(removed):Pixtxa-master-patch-27969
into
master
4 years ago
Overview
1
Pipelines
0
Changes
1
Expand
Fix select button long press, and add possibility to hold buttons for scrolling
Edited
4 years ago
by
Pixtxa
0
0
Merge request reports
Compare
version 4
version 10
c9d3a7c7
4 years ago
version 9
79a2f879
4 years ago
version 8
7a95528b
4 years ago
version 7
a924fdad
4 years ago
version 6
9ec09ea2
4 years ago
version 5
356caf81
4 years ago
version 4
d1cd9ce1
4 years ago
version 3
7be1aded
4 years ago
version 2
2022ebc4
4 years ago
version 1
e9d77a5b
4 years ago
master (base)
and
version 5
latest version
65e9a005
11 commits,
4 years ago
version 10
c9d3a7c7
10 commits,
4 years ago
version 9
79a2f879
9 commits,
4 years ago
version 8
7a95528b
8 commits,
4 years ago
version 7
a924fdad
7 commits,
4 years ago
version 6
9ec09ea2
6 commits,
4 years ago
version 5
356caf81
5 commits,
4 years ago
version 4
d1cd9ce1
4 commits,
4 years ago
version 3
7be1aded
3 commits,
4 years ago
version 2
2022ebc4
2 commits,
4 years ago
version 1
e9d77a5b
1 commit,
4 years ago
Show latest version
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
pycardium/modules/py/simple_menu.py
+
1
−
1
Options
@@ -362,7 +362,7 @@ class Menu:
elif
ev
==
self
.
button_select
:
t0
=
time
.
time_ms
()
long_press
=
False
while
buttons
.
read
(
buttons
.
button_select
)
>
0
:
while
buttons
.
read
(
self
.
button_select
)
>
0
:
if
time
.
time_ms
()
-
t0
>
long_press_ms
:
long_press
=
True
break
Loading