Rockbox

Tasklist

FS#9356 - Allow to set the delay before button repeat is activated (=long button press)

Attached to Project: Rockbox
Opened by Alexander Levin (fml2) - Tuesday, 02 September 2008, 21:10 GMT
Task Type Patches
Category Applications
Status Unconfirmed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

The patch allows to set the delay after which the button repeat event is generated. Since this event is used to detect a long button press, it effectively sets this 'threshold.'

Slow fingered users may often hold the select button too long and (unintentionally) get the context menu. For instance, from the WPS screen. But they actually wanted to go to the file browser.

The patch adds a setting for that delay. Its default value is 30 ticks (=0.3s). The menu entry is in Settings -> General Settings -> System -> Long Button Press Duration.
This task depends upon

Comment by Alexander Levin (fml2) - Wednesday, 03 September 2008, 18:50 GMT
Here are the contents of the file rockbox-info.txt without and with the patch (to see how it affects the bin size etc).

Clean rb:
===================
Target: h120
Target id: 9
Target define: -DIRIVER_H120
Memory: 32
CPU: coldfire
Manufacturer: iriver
Version: r18398-080903
Binary: rockbox.iriver
Binary size: 396464
Actual size: 396456
RAM usage: 830672
Features: agc:backlight_fade:dircache:hold_button:lcd_bitmap:lcd_non-mono:lcd_flip:lcd_invert:pitchscreen:quickscreen:radio:recording:recording_swcodec:remote:remote_lcd_invert:remote_ticking:spdif_power:swcodec:tagcache:tc_ramcache:charging
gcc: m68k-elf-gcc (GCC) 3.4.6
ld: GNU ld version 2.16.1
Host gcc: gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Host system: Linux

With FS#9356
========================
Target: h120
Target id: 9
Target define: -DIRIVER_H120
Memory: 32
CPU: coldfire
Manufacturer: iriver
Version: r18398M-080903
Binary: rockbox.iriver
Binary size: 396608
Actual size: 396600
RAM usage: 830824
Features: agc:backlight_fade:dircache:hold_button:lcd_bitmap:lcd_non-mono:lcd_flip:lcd_invert:pitchscreen:quickscreen:radio:recording:recording_swcodec:remote:remote_lcd_invert:remote_ticking:spdif_power:swcodec:tagcache:tc_ramcache:charging
gcc: m68k-elf-gcc (GCC) 3.4.6
ld: GNU ld version 2.16.1
Host gcc: gcc (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
Host system: Linux

Loading...