Rockbox Development > Feature Ideas

Deadzones for fuze+ touchpad's buttons

<< < (2/3) > >>

monoid:
Good idea! I do not have thick fingers, but still I sometimes hit different key than intended.

It might be handy if this idea would be incorporated in the main branch of firmware development.

metaphys:
Indeed this a great idea

pamaury:
Hello,
for those who can compile, here is the patch we have come up with: http://gerrit.rockbox.org/r/#/c/677/
And for those who can't compile, here is a prebuilt version with current HEAD: https://www.dropbox.com/s/vsksdgfjiogpyrq/rockbox_fuzep_deadzones.zip
If no one reports a blocking failure, I will commit this in a few days.

gontofe:
Just out of interest, I get an error when building this patch for the simulator:


--- Code: ---CP UI256.bmp
AR libuisimulator.a
LD rockboxui
/home/mike/dev/rockbox/build/apps/settings.o: In function `settings_apply':
/home/mike/dev/rockbox/apps/settings.c:1065: undefined reference to `touchpad_set_deadzone'
/home/mike/dev/rockbox/build/apps/settings_list.o:(.data+0x1c0): undefined reference to `touchpad_set_deadzone'
collect2: error: ld returned 1 exit status
/home/mike/dev/rockbox/uisimulator/uisimulator.make:34: recipe for target '/home/mike/dev/rockbox/build/rockboxui' failed
make: *** [/home/mike/dev/rockbox/build/rockboxui] Error 1

--- End code ---

Is there any extra configuration required to set this up?

pamaury:
That's a good point, the patch is not intended for the simulator. Implementing dead zones in the simulator would be quite some work, for very limited interest since the code would be completely different from target code. I have uploaded a new version to fix the compile issue.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version