summaryrefslogtreecommitdiff
path: root/apps/action.h (follow)
Commit message (Collapse)AuthorAge
* skin_engine: Make pressing the setting bar touch region workJonathan Gordon2012-07-06
| | | | | | might need some tweaking, but works. Change-Id: I0784cd4fe9996531da6cc275491ff3b4e83cdbcf
* Add new actions to %Tp (Touchscreen areas)Osborne Jacobs2012-03-13
| | | | | | | | | | | | | | | Add the following actions to %Tp: createbookmark create a new bookmark from the wps listbookmarks list bookmarks from the wps trackinfo show track info from the wps My main motivation was to allow bookmarking and jumping around audio books from the wps on touch enabled targets. You can do it now through the context menu but it requires 4 screen presses instead of 1. Change-Id: I1fa1bf0064dfd22b897eca7c56acc1ce8956f14c Reviewed-on: http://gerrit.rockbox.org/171 Reviewed-by: Jonathan Gordon <rockbox@jdgordon.info>
* Correct actionable offense for misappropriation of action context.Michael Sevakis2012-03-03
| | | | | | | Just use a bool to indicate raw button instead of action code. No bother with plugin version yet again so soon. Change-Id: I4aa075c0c1fb5308c9d49bebb30ac76f671b2335
* Change keyclick_click so that it may accept raw buttons or actions.Michael Sevakis2012-03-03
| | | | | | | | Adds a new context, CONTEXT_RAWBUTTON, that I hope is out of the way of everything. Unfortunately have to increment min plugin API version for the second time today to accomodate additional parameter. Change-Id: Iaa46b926e57cf377fd4906f2d42bb98e87215033
* skin touchregions: fix the 'none' region firing when it shouldnt.Jonathan Gordon2012-01-23
| | | | | | Change the none action return value so the various action layers don't get confused by ACTION_TOUCHSCREEN return codes which shouldn't be happening (i.e when a long press region overlaps a short press region whihc has the none action) Change-Id: I63db2c0b49597ada2c5ebd0ef98e99aeef4f522a
* skin engine softlock support for touchscreens:Jonathan Gordon2011-07-28
| | | | | | | Modify the %Tl() tag to add a new region 'lock' which will lock/unlock the wps/sbs from touches (hardware buttons still work) You can also specify a region to work when locked by prepending ^ to the action name (this is probably about to change though) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30218 a1c6a512-1295-4272-9138-f99709370657
* Fix touchregions muting volume, and change &<action> to mean 'needs long ↵Jonathan Gordon2011-03-27
| | | | | | press but only fire once'. Use *<action> for 'long press and allow repeats' git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29653 a1c6a512-1295-4272-9138-f99709370657
* Add an ability to set a setting to a specific value with a touchscreen action.Jonathan Gordon2011-03-01
| | | | | | | | | | | | example: %T(0,0,20,12, setting_set, repeat, off) That will set the repeat mode to "off" when it is pressed. "setting_set" is the action name "repeat" is the name of the setting in the config files "off" is the value to set it to (same values as the legal values in the config files) Not all settings are supported, outright unsupported settings will fail to parse. Some settings might not work too well if they don't apply instantly (Any that work well int he quickscreen should work well here) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29483 a1c6a512-1295-4272-9138-f99709370657
* New Touchscreen region type... 'mute' which un/mutes volume without pausing ↵Jonathan Gordon2011-01-13
| | | | | | playback git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29046 a1c6a512-1295-4272-9138-f99709370657
* ACTION_FM_QUICKSCREEN is unusedRafaël Carré2010-06-18
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26944 a1c6a512-1295-4272-9138-f99709370657
* first step of making touch regions usable in all skins, not just the WPS.. ↵Jonathan Gordon2010-06-15
| | | | | | no user viewable changes just yet git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26854 a1c6a512-1295-4272-9138-f99709370657
* Fix typos in the commentAlexander Levin2010-05-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25813 a1c6a512-1295-4272-9138-f99709370657
* Fix typo in commentAlexander Levin2010-04-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25681 a1c6a512-1295-4272-9138-f99709370657
* FS#11081 - Hotkey patch. Many targets supported, but some keymaps need work ↵Jeffrey Goode2010-04-01
| | | | | | before they can be switched on git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25414 a1c6a512-1295-4272-9138-f99709370657
* Quickscreen for the radio screen. I added a keymap for almost all targets. I ↵Thomas Martitz2010-02-20
| | | | | | couldn't find a nice one (i.e. one that's consistent with the wps/menu quickscreen combo) for iaudio m3, ondavx747 and the gogears. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24795 a1c6a512-1295-4272-9138-f99709370657
* FS#10785: Add new context CONTEXT_MORSE_INPUT for keymaps which is used ↵Teruaki Kawashima2010-01-16
| | | | | | | | | during morse input mode in virtual keyboard. This will enable to use morse input on targets that doesn't have enough key for both the keyboard and morse input in one context. Enable morse input on archosondio as an example. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24250 a1c6a512-1295-4272-9138-f99709370657
* Merge duplicating code to move cursor left/right.Teruaki Kawashima2009-11-06
| | | | | | remove ACTION_KBD_SELECT_REM, use ACTION_KBD_SELECT instead as they seem to be equivalent. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23543 a1c6a512-1295-4272-9138-f99709370657
* USB HID: Use different context for each mode; Use constant for each action;Tomer Shalev2009-10-17
| | | | | | | | | | | | | Rework keymaps This commit makes the code neater and more readable. It makes it easier to modify keymap assignments and new keypad modes. Some platforms had their keypad mappings reworked. The manual is updated to reflect all these changes. H10 remote control mapping dropped. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23219 a1c6a512-1295-4272-9138-f99709370657
* Add a action helper for touchscreen targets to only receive the touchpress ↵Thomas Martitz2009-10-11
| | | | | | | | coordinates if they're in the passed viewport. Also, fixes the coordinates to be relaitve to the viewport. Use it in the color picker screen. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23116 a1c6a512-1295-4272-9138-f99709370657
* Add USB HID mouse support for H10Tomer Shalev2009-10-05
| | | | | | | | | - Protect mouse keymaps with #ifdef HAVE_USB_HID_MOUSE - Add preliminary support for remote mouse mode in iPods, pending P#10623 - Use ACTION_USB_HID_MOUSE_WHEEL_SCROLL_UP/DOWN instead of standard INC/DEC git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22940 a1c6a512-1295-4272-9138-f99709370657
* Commit "FS#10468 - USB HID: Show keypad mode on screen"Tomer Shalev2009-09-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22852 a1c6a512-1295-4272-9138-f99709370657
* Quickscreen: 4th itemThomas Martitz2009-08-29
| | | | | | | | | | | This adds a 4th top item to the quickscreen. It's as configurable as the existing three items. This patch goes along with optimisations for small screens for better displaying of all four items. 14px font is very usable on a 64px height display for example. Left and Top items go through the items in the opposite direction, so that you can mirror a setting and toggle through it in both directions. Default item is party mode, as it's target independant. Flyspray: FS#9706 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22532 a1c6a512-1295-4272-9138-f99709370657
* Commit part of FS#9873 - Utilise buttons for playlistingThomas Martitz2009-07-22
| | | | | | | It adds a shortcut (combo or button) to directly go from the wps to the playlist viewer. The combos could possibly be improved on some targets, but I tried to keep a tad bit of consistency (was hardly possible). I also added a corresponding touchscreen region and adapted cabbiev2. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22003 a1c6a512-1295-4272-9138-f99709370657
* Fix the bug where the short-long fwd/back action would ffwd/rewind the next ↵Jonathan Gordon2009-07-03
| | | | | | folder (consult the manual if that makes no sense) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21619 a1c6a512-1295-4272-9138-f99709370657
* FS#8894 - Add time stretching feature to all SWCODEC targets - the current ↵Steve Bavin2009-06-12
| | | | | | algorithm is best for spoken word. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21258 a1c6a512-1295-4272-9138-f99709370657
* Fix PF keymap issue caused by conflict between new CONTEXT_PLUGIN and ↵Andrew Mahone2009-06-01
| | | | | | ALLOW_SOFTLOCK, by changing value of ALLOW_SOFTLOCK. Bump min plugin version as value passed to a core function changed, and sort plugin API. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21161 a1c6a512-1295-4272-9138-f99709370657
* Replace use of CONTEXT_CUSTOM by get_custom_action with new CONTEXT_PLUGIN, ↵Andrew Mahone2009-05-31
| | | | | | to prevent conflicts with core contexts using CONTEXT_CUSTOM, and use CONTEXT_TREE as the base context for PictureFlow's custom contexts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21149 a1c6a512-1295-4272-9138-f99709370657
* Add HID keymap handling in usb screen. This allows to use the DAP as a ↵Frank Gevaerts2009-05-23
| | | | | | keypad to control the PC. The current keymaps are audio-oriented (play/pause/volume/...) (FS#10218 by Tomer Shalev) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21054 a1c6a512-1295-4272-9138-f99709370657
* allow the user to change the shuffle and repeat modes from the touchscreen, ↵Jonathan Gordon2009-05-15
| | | | | | update the mr500 default wps to show how to do it (hint, press the shuffle/rep icon) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20937 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#9308: differentiate between TOUCHPAD & TOUCHSCREENMaurus Cuelenaere2008-08-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18338 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Updated recording trigger screen (seems to be a feature almost noone uses?)Jonathan Gordon2008-05-28
| | | | | | | | problems/complaints in http://forums.rockbox.org/index.php?topic=16837.0 there is a known issue that on this screen the stop icon wont update, I dont know why and noone else wants to look at it, so hopefully this will force another set of eyes on it.. this is only a graphical issue... recordings still work fine git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17643 a1c6a512-1295-4272-9138-f99709370657
* Setup the touchpads to have two modes - stylus and button - and set them in ↵Jonathan Gordon2008-04-15
| | | | | | | | | | | button mode by default. in button mode the touchpad is split into a 3x3 grid for 9 seperate buttons which can be used by the action system like real buttons. Unify the keymap file for the touchpads in button mode. the target keymap file only needs to worry about real buttons. (As these ports mature each screen will need to be fixed seperatly to be able to use stylus mode (the lists can already but don't change mode just yet.) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17114 a1c6a512-1295-4272-9138-f99709370657
* First go at getting the touchpad working in the ui. lists only for now.Jonathan Gordon2007-10-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15264 a1c6a512-1295-4272-9138-f99709370657
* Finally use the rec button to get to the rec screen on sansa and iriver ↵Jonathan Gordon2007-08-02
| | | | | | hxxx. hold rec to get there... short press still is unused git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14141 a1c6a512-1295-4272-9138-f99709370657
* Wheel acceleration for e200. A general acceleration interface intended for ↵Michael Sevakis2007-07-22
| | | | | | use on any scroll target and by any code. A general interface to obtain data associated with most recently dequeued button presses and actions. Use #define HAVE_SCROLLWHEEL and set appropriate constants, values in the scroller driver that feel right. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13959 a1c6a512-1295-4272-9138-f99709370657
* remove the need for action_signalscreenchange().Jonathan Gordon2007-07-22
| | | | | | | Fixes problems with targets where the ACTION_STD_CANCEL event is a combo git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13956 a1c6a512-1295-4272-9138-f99709370657
* FS#7158 - Bookmark selection as a list.Magnus Holmgren2007-05-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13495 a1c6a512-1295-4272-9138-f99709370657
* rename ACTION_WPSAB_RESET to ACTION_WPS_ABRESET to be more consistent with ↵Marcoen Hirschberg2007-04-13
| | | | | | the rest git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13142 a1c6a512-1295-4272-9138-f99709370657
* minor actions cleanup:Jonathan Gordon2007-04-08
| | | | | | | | - CONTEXT_MAINMENU is not actually needed, use CONTEXT_TREE which does the same actions - (gigabeat) use vol+/- in the lists to control volume (every list!) (FS#6982 in a better way) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13062 a1c6a512-1295-4272-9138-f99709370657
* Add a function to get the actual button that was pressed (and some Jonathan Gordon2007-03-04
| | | | | | | | status codes) instead of the action. Use this to figure out which screen to do prev/next page on in the lists git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12580 a1c6a512-1295-4272-9138-f99709370657
* Introducing the root menu!Jonathan Gordon2007-03-01
| | | | | | | | | Blind users: get a new voice file as there are lots of lang changes and new strings. FS#6630 or RootMenu on the wiki for more info. complaints to /dev/null :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12528 a1c6a512-1295-4272-9138-f99709370657
* returning ACTION_EXIT_AFTER_THIS_MENUITEM from a menu callback will exit Jonathan Gordon2007-02-27
| | | | | | | | the menu when the subitem returns. Use this with the preset item context menus git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12501 a1c6a512-1295-4272-9138-f99709370657
* beginning of the new menu system. This commit shouldnt break anything, Jonathan Gordon2007-02-08
| | | | | | | | | but comming ones might.. report bugs in http://forums.rockbox.org/index.php?topic=8703.0 and more info at http://www.rockbox.org/twiki/bin/view/Main/SettingsRecode git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12227 a1c6a512-1295-4272-9138-f99709370657
* Make AB mode uable on the ipods. In AB mode select is used to set/resetJonathan Gordon2006-12-22
| | | | | | | | | the markers in he WPS. AB mode must be disblaed ot get into the browser. This can allow the Ondio's to have AB mode but it makes rombox too large. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11832 a1c6a512-1295-4272-9138-f99709370657
* implement actions in the plugins, bubbles and metronome converted.Jonathan Gordon2006-11-16
| | | | | | | | | (hopefully buttons are correct, let me know in http://forums.rockbox.org/index.php?topic=5829.0 if there is a major stuff up) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11535 a1c6a512-1295-4272-9138-f99709370657
* Patch #6145 by Alexander Levin - Pitch adjustment in semitone stepsLinus Nielsen Feltzing2006-11-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11442 a1c6a512-1295-4272-9138-f99709370657
* fix the bug where when scrolling text left in the filebrowser you could ↵Martin Scarratt2006-09-25
| | | | | | suddenly find yourself in the root directory. A long press on the left scrolling button will still take you to the root quickly. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11042 a1c6a512-1295-4272-9138-f99709370657
* Button action code implemented in the radio screen. Should get rid of all ↵Martin Scarratt2006-09-22
| | | | | | thos wierd doublepress bugs and you can edit your presets again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11024 a1c6a512-1295-4272-9138-f99709370657
* Button action code for the Virtual keyboard. Extra buttons for H1xx remote: ↵Martin Scarratt2006-08-22
| | | | | | Vol-+ Cursor Left/Right. H3xx remote:-10/+10 Cursor Left/Right. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10694 a1c6a512-1295-4272-9138-f99709370657