Rockbox Technical Forums
Support and General Use => Plugins/Viewers => Topic started by: Artursk on April 20, 2010, 04:19:24 AM
-
it's impossible to use metronome on sansa(v1) because the Start/Stop key isn't defined.
it could be home button - the only button witch is not used in that plungin.
is there some way I can set that button?
-
Hi. You will need to check out the source and change the key map. I think the key map should probably be changed anyway, so that the volume rocker controls volume. This would free up the play/pause button to start/stop the metronome (a logical choice, I think).
If you feel up to it, a patch to improve the key map would be welcomed.
-
Hi,is there some Program I can edit .rock files??
cause my knowledge in programming stuff is pretty poor and I wont be able to make a patch if it's a difficult thing to do :-\
-
You find can what you need here:
http://www.rockbox.org/wiki/HowtoWritePlugins
-
thats what is said on manual is understandable. the problem is -how can i view the plungin code as a text?
p.s. sory for asking so meny questions.
-
Did you follow the Development Guide instructions for setting up the development environment and getting the source code using SVN?
The metronome source code is in rockbox\apps\plugins\metronome.c
-
so i got the code and added key map for sansa clip - how can I apply to my player and see if it works?
-
You need to build the source as described in the docs index. Check the SimpleGuideToCompiling for instructions on compiling Rockbox in Windows. After that, you can consult the WorkingWithPatches page for instructions on creating a patch for submission to Flyspray.
-
Ok -im givinng up on that :-[
i spent 2 hours trying understand it ,but it seems to be a bit too hard for me.
-
If you take things step by step it shouldn't be too bad. Is there a particular step that confuses you?
-
My problem is -when I tipe ''make'' it says -premission denied,bad interpreter
-
Which build environment are you using?
-
cygwin -I tryed to reinstall it , but installer still coudn't download some parts from rockbox mirror so I did download them manually and then install using cygwin setup
I just downloaded newest RB and the metronome seems to be fixed
(TY guys :) )
-
Rockbox is now set up to use a different cross compiler. Did the configure script complain about arm-elf-eabi-gcc not being on your path? If this is the source of your problem you can run the rockboxdev.sh script to build it.
-
Rockbox is now set up to use a different cross compiler. Did the configure script complain about arm-elf-eabi-gcc not being on your path? If this is the source of your problem you can run the rockboxdev.sh script to build it.
Which like most things on Cygwin will take many moons :)