Rockbox Development > New Ports

Sansa Fuze+

<< < (39/162) > >>

qiaozi:
@metaphys,

I have been looking at the touchpad code as well and thought the main difficulty with setting the "sensi" value was because the while() loop is ticking over too quickly. I will try putting a delay in the while loop and also try your mod of the sensitivity counter to see what works best. At the moment my favourite "sensi" value is about 10, below 0 is not sensitive enough and above 16 is too sensitive.

metaphys:
@qiaozi and all:

Actually:
1) the code is more easy as I thought
2) Pamaury did nearly all the early work to implement further fonctions

so I've started basic mapping on the device to have at least all RB fonction available (even poorly) you can follows/comment/help that here:
http://www.rockbox.org/tracker/task/12405
compiling people can tweak their own mapping in the file: apps/keymaps/keymap-fuzeplus.c (look at other files it is not that complicate
Ideas about how should what works are also welcome (which touch for what) but not here, there. Actually for the moment this is very basical because as I'm planning to add new implementation the mapping are probably going to change partly. (the device is really good! we should be able to have fonctions like double click, double click with 2 finger, scrolling with one finger, scroll with 2, button with two finger) ... yes but I have to write them first... If anyone want to help, please do!
First I think that I will start to find a way to have a proper setting menu for sensibility and save over boot...
Finally after gesture are implemented I guess the best way would be to have a menu to configure the key and gesture as we want them

I'm actually not sure about were to implement new gesture... there are no touchpad target in the tree... Perahaps should I write a generic driver for touchpad? On the other hand if they are not a lot of touchpad around or if they don't work that way it would be useless... Any ideas about that pamaury?

Jimmyboy : radio doesn't work for the moment.
alienkid10 : yeah I also have this issue

metaphys:
So here are some new...

I've made a big patch that improve touchpad driver and key mapping. All info and a link to a build for non compiling user can be found here: http://www.rockbox.org/tracker/task/12405
1) Change the key limits on the touchpad: they are now 9 virtuals keys on 3 x 3 grid and a tenth key has been added: simultaneous touching the touchpad with 2 fingers (see patch 3 and 4 in the file.
A consequence I noticed is an very impressive increase of the touchpad reactivity because button zone are now wider.
2) Add A LOT LOT LOT of mapped key (see first patched file):
major change are:
a) in WPS:
-bottomright and bottomleft keys are direct link to file browser and playlist. another click and you are back in the WPS! (COMMENT: IS THERE A WAY TO GO TO THE DATABASE UNSTEAD?
-long press with two fingers activate LOCK when the finger are released from touchpad (this is the only way I found to avoid to much sensibility leadind to multiple lock unlock sequence)
b) keyboard:
We now have a fully fonctionnal virtual keyboard
-directions to select a letter
-play to insert a letter
-buttomright and bottomleft to move cursor
-back as backspace
-doublefinger key to finish
-power to abord
c) menu and list:
-left and right to go to previous/new page
-doublefinger key bring you back to the main menu

d) mapping for future : basic to handle recording, time and radio

3) reset standart sensitivity value to 13 on all touchpad

TODO:
- a setting menu to have sensitivity and future scrolling sensitivity (I don't know how to do that, HELPS)
- Implement different kind of scrolling and test them
- having a menu to map button to everyone suits...

qiaozi:
@Metaphys,

I applied your v9 patch, it works very well, touchpad much easier to use now. I still find that sensitivity level of 13 is a bit too sensitive on my device and have to set it to 10. The keyboard is good, the only problem I had is when playing a music file and using the text editor, there is a beeping sound when scrolling around the keyboard. I will do some debugging and try to find the cause of the beeping.

Anyway, my Fuze+ is finally usable, many thanks to you and pamaury.  :D

metaphys:
thanks for the comment... I really need direction about what to do how because we have now a bunch of key to use... For example the WPS will get some improvement further! And if nobody tell me what is the action to go from wps to database... then I'll create it!

It seems that rockbox already has support for touchpad sensibility I found nice #define HAVE_TOUCHPAD instruction in the code  ;D
But the compilation fail with it, I guess we need to implement the fonction to set sensitivity...

well a lot of work still to do

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version