Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbd1afb4

Browse files
fri3d-2024: fix back button hang
1 parent2f8e072 commitbd1afb4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎internal_filesystem/boot_fri3d-2024.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ def read_joystick():
120120
# Key repeat configuration
121121
# This whole debounce logic is only necessary because LVGL 9.2.2 seems to have an issue where
122122
# the lv_keyboard widget doesn't handle PRESSING (long presses) properly, it loses focus.
123-
REPEAT_INITIAL_DELAY_MS=500# Delay before first repeat
124-
REPEAT_RATE_MS=200# Interval between repeats
123+
REPEAT_INITIAL_DELAY_MS=300# Delay before first repeat
124+
REPEAT_RATE_MS=100# Interval between repeats
125125
last_key=None
126126
last_state=lv.INDEV_STATE.RELEASED
127127
key_press_start=0# Time when key was first pressed
@@ -133,6 +133,7 @@ def read_joystick():
133133
defkeypad_read_cb(indev,data):
134134
globallast_key,last_state,key_press_start,last_repeat_time
135135
data.continue_reading=False
136+
since_last_repeat=0
136137

137138
# Check buttons and joystick
138139
current_key=None

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp