Support and General Use > Recording
Recording Enhancements Pack
fed:
I've tried to adapt your patch no sansa.
I substituted BUTTON_POWER for BUTTON_ON and BUTTON_OFF
I remeved the line
{ ACTION_WPS_ID3SCREEN, BUTTON_POWER|BUTTON_MODE, BUTTON_NONE },
because I don't know the equivalent of BUTTON_MODE for sansa.
I inserted the your ketmap to where I thought it should go in keymap200
I applied the patch.
But it does not work.
I'm sorry, but I can't figure out which #defines to add.
Could you let me know which to add?
Thanks!
fed:
I am sorry to keep bothering, but I have been racking my brain for a week now
trying to do something that I think is probably easy to do.
I would like to make a button do something. I can make the changes in the
keymap. I want to run GO_TO_RECSCREEN. I don't know how to link these two
things. I think I have to set up something in action.c, but I am not sure
what.
In the end, I want to go to the recording screen when I press the rec button
on the sansa.
Can you please help me?
Rincewind:
@fed: you have to add the action to the button handlers, too. Every screen has it's own button handler, which is a big 'switch case' statement, e.g. in tree.c for the file browser, gwps.c for wps. I don't know exactly where the buttons in the menus are handled (look in every file that has 'menu' in the name and you should find it).
fed:
Thanks. That helps a lot!
Do you know which menu is for the main menu. I tried main_menu.c, but it seems to be for something else.
Peter200lx:
The Current REP patch has some problems when applying it. I was wondering if it was a simple changing of some lines to get it working, and if it was if someone could post a changed REP.patch. My programing skills are in the infant stage, so I'm not at all sure what to do myself. If someone could post an update, I'd greatly appreciate it. If needed, I can post a copy of the errors that I'm getting.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version