Rockbox

Tasklist

FS#12529 - Lamp plugins PLA integration

Attached to Project: Rockbox
Opened by Jean-Louis Biasini (JeanLouisBiasini) - Tuesday, 10 January 2012, 14:29 GMT
Last edited by Thomas Martitz (kugel.) - Wednesday, 08 February 2012, 17:09 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.10
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

this is a try for a PLA integration of lamp.
The purpose is to simplify manual and code keymaps

note:
- ONDAVX747(poorly) and MROBE500 added to PLA
- IAUDIO67 PLA keymaps corrected (2 command were mapped to the same keys)
- exit lamp mapped to PLA_EXIT and PLA_CANCEL
This task depends upon

Closed by  Thomas Martitz (kugel.)
Wednesday, 08 February 2012, 17:09 GMT
Reason for closing:  Out of Date
Additional comments about closing:  http://gerrit.rockbox.org/r/#change,86
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Tuesday, 10 January 2012, 14:48 GMT
gevaerts pointed out that mr500 get handled through touchscreen interface
Comment by Thomas Martitz (kugel.) - Wednesday, 11 January 2012, 07:48 GMT
Your changes to pluginlib_actions.c are not clear to me. Do you own the targets so you can tell it's an improvement? Changes to PLA should probably be a separate task.

The changes to lamp look fine at first sight.
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Wednesday, 11 January 2012, 09:14 GMT
- ondavx747 was not impleted in PLA. Unless it's a touchscreen device, (in which case I have to revert this part as I did for the mr500) it definitivly do no harm to have it in PLA.
- iaudio67 is a dead port, but the same key was mapped both to down and select keys. this cannot works. The only remaiming key not mapped is the one I linked as a remplacement
Comment by Thomas Martitz (kugel.) - Wednesday, 11 January 2012, 09:21 GMT
ondavx747 is a touchscreen device. You can see such things by looking at firmware/export/config/<target>.h btw
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Thursday, 12 January 2012, 18:06 GMT
ok corrected and I removed cowon2 also as it is also touchscreen
Comment by amaury pouly (pamaury) - Sunday, 15 January 2012, 00:41 GMT
Is this ready to commit ? I know nothing about plugin actions so I would prefer that someone review it before.
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Sunday, 15 January 2012, 13:19 GMT
I guess this is ready but it would be nice to have kugel's opinion on this
Comment by Thomas Martitz (kugel.) - Sunday, 15 January 2012, 13:23 GMT
It *looks* fine to me, but I haven't tested.

Does it compile for HAVE_SCROLLWHEEL? LAMP_(UP|DOWN)_REPEAT doesn't seem defined for those.
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Sunday, 15 January 2012, 13:54 GMT
No I just tried!
Ok now this compile
Comment by Thomas Martitz (kugel.) - Wednesday, 25 January 2012, 21:27 GMT
The block is not clear to me:


#ifdef HAVE_TOUCHSCREEN
# ifndef LAMP_LEFT
# define LAMP_LEFT PLA_LEFT
# endif
# ifndef LAMP_RIGHT
# define LAMP_RIGHT PLA_RIGHT
# endif
# ifndef LAMP_UP
# define LAMP_UP PLA_UP
# endif
# ifndef LAMP_DOWN
# define LAMP_DOWN PLA_DOWN
# endif
#endif

What's the purpose. Isn't touchscreen already covered by the above? (touchscreen assigns grid mode buttons for PLA so all buttons are already defined).

Otherwise it looks good. However I would prefer if you'd also upload a patch for the manual.
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Saturday, 28 January 2012, 16:07 GMT
This block was also in the original part so I just translated it into PLA. I have to check if I can take it out. Ok I will add the manual patch also
Comment by Thomas Martitz (kugel.) - Saturday, 28 January 2012, 17:20 GMT
I see. I can be removed with the transition to PLA.
Comment by Jean-Louis Biasini (JeanLouisBiasini) - Monday, 06 February 2012, 14:09 GMT
Touchscreen block has been taken away: (compile and works on robe500 simulatorui)
http://gerrit.rockbox.org/r/#change,86

Manual update's patch:
http://gerrit.rockbox.org/r/#change,87

Loading...