summaryrefslogtreecommitdiff
path: root/apps/keymaps/keymap-android.c (unfollow)
Commit message (Collapse)Author
2012-04-05touchscreen: Fix kinetic scrolling when the statusbar is off.Thomas Martitz
The scrolling code cannot differentiate between the BUTTON_TOUCHSCREEN post from normal touches and the one posted in the timeout callback. To fix introduce a global special button (BUTTON_REDRAW) that results in the desired redraw. This existed already as a local kludge for android and is now generalized. Change-Id: I6bfa6c66431c48f5042fcd8fce2ea72cd3457f58
2011-03-10Enable volume keys in Android.Björn Stenberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29559 a1c6a512-1295-4272-9138-f99709370657
2011-02-19Android: Rewrite lcd subsystem to use the SurfaceView API.Thomas Martitz
That enables drawing from outside the apps UI thread, i.e. from within the Rockbox native thread, without needing synchronization means, and adds determinism as to when the draw happens. It simplifies the drawing routines and adds a convinient way of detecting whether drawing should happen or not (surfaceCreated/Destroyed). It also restores max. fps on my phone which went down drastically with the gingerbread(CM7) update. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29333 a1c6a512-1295-4272-9138-f99709370657
2011-01-29Android: Change menu button to go always (and not only in the wps) to the ↵Thomas Martitz
main menu and long menu to open the context menu. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29161 a1c6a512-1295-4272-9138-f99709370657
2010-11-03Remote android button handling (again). do the press/unpress more like other ↵Jonathan Gordon
targets (i.e correctly). The DPAD is special in that the press/unpress happens too quickly, so always post it with the BUTTON_REL. This means all keymaps using the dpad need to remember it will always have a BUTTON_REL (which also means they cant do repeats, which are impossible anyway). Also make the back button go back to the OS home from the rockbox main menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28475 a1c6a512-1295-4272-9138-f99709370657
2010-08-16Android port: add support for hardware keysMaurus Cuelenaere
* Forward Java KeyEvents to C layer and translate them to Rockbox BUTTON_*. * Add a basic Android keymap git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27832 a1c6a512-1295-4272-9138-f99709370657
2009-12-18Onda VX747/VX777: add ACTION_KBD_ABORT (fixes exiting boomshine)Maurus Cuelenaere
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24070 a1c6a512-1295-4272-9138-f99709370657
2009-10-28The Onda VX777 has only one button, add it to the keymap.Maurus Cuelenaere
Also fix a typo that erroneously enabled button_hold in button-target.h Flyspray: FS#10732 Author: Yann Muller git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23383 a1c6a512-1295-4272-9138-f99709370657
2009-09-30Commit "FS#10468 - USB HID: Show keypad mode on screen"Tomer Shalev
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22852 a1c6a512-1295-4272-9138-f99709370657
2009-06-20* Commit a modified FS#10354 (thanks to Davide Quarta) - add support the ↵Maurus Cuelenaere
VX747+ in scramble and configure * Add support for the VX777 * Remove the touchscreen mode switching combo from the button driver git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21379 a1c6a512-1295-4272-9138-f99709370657
2009-03-21D2: Enable FM radio (based on FS#10035 by Michael Burtin with some changes ↵Rob Purchase
by myself). Also updates the LV24020 driver to add optional logf debugging. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20420 a1c6a512-1295-4272-9138-f99709370657
2008-09-16D2/Touchscreen keymap improvements: onscreen keyboard is now usable; ↵Rob Purchase
PLAY/pause now mapped to TOPRIGHT; Usable defaults in Rockboy. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18529 a1c6a512-1295-4272-9138-f99709370657
2008-07-06Set svn props and add Id to headers that were missing it.Nils Wallménius
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17952 a1c6a512-1295-4272-9138-f99709370657
2008-06-28Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg
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
2008-06-27D2: Keymap improvements for pitchscreen, quickscreen and context menu. ↵Rob Purchase
(note: quickscreen left action does not currently work) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17804 a1c6a512-1295-4272-9138-f99709370657
2008-06-22A basic seek/skip WPS keymap for touchscreen targets.Rob Purchase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17755 a1c6a512-1295-4272-9138-f99709370657
2008-05-28Updated recording trigger screen (seems to be a feature almost noone uses?)Jonathan Gordon
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
2008-04-15Setup the touchpads to have two modes - stylus and button - and set them in ↵Jonathan Gordon
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
2008-03-22D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas ↵Rob Purchase
Mueller, with some tweaks). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
2008-01-22D2 simulator build (plugins not built yet)Rob Purchase
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16146 a1c6a512-1295-4272-9138-f99709370657
2008-01-14Initial Cowon D2 commit:Rob Purchase
* bootloader test program (basic LCD & button drivers, reads touchscreen) * work-in-progress stubs for main build git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16090 a1c6a512-1295-4272-9138-f99709370657
2007-10-23mrobe changes:Jonathan Gordon
stop it thinking the battery is always flat and shutting down add keymap for time/date screen pressing a list item will highlight it before accepting it (looks better than it just entering the item without the selection changing first) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15280 a1c6a512-1295-4272-9138-f99709370657
2007-10-21More M:Robe work including a fix to lcd-as-memframe for larger screens ↵Karl Kurbjun
thanks to Michael Sevakis. Also fixes simulator builds. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15254 a1c6a512-1295-4272-9138-f99709370657
2007-10-19start of a working keymap for mrobe 500Jonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15196 a1c6a512-1295-4272-9138-f99709370657
2007-10-03Missing keymap commitKarl Kurbjun
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14965 a1c6a512-1295-4272-9138-f99709370657
2007-08-31Oops, applied the 'clean' patch instead of the one modified to meet the Paul Louden
second goal of committing it. Fixed so that you can actually stop now, and so 'A' has a use again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14556 a1c6a512-1295-4272-9138-f99709370657
2007-08-31Accept FS#6920, swap the 'A' and 'Select' button functions while in the Paul Louden
WPS. This allows a wider range of available functionality when just using the cross with a thumb, and brings controls more parallel to devices with similar input options in Rockbox. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14554 a1c6a512-1295-4272-9138-f99709370657
2007-06-17gigabeat remote: hold fast-forward to get to the context menu, hold rewind ↵Marcoen Hirschberg
to get to the root of the file tree. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13646 a1c6a512-1295-4272-9138-f99709370657
2007-06-16change the Gigabeat remote control mapping: long-play is stop. play resumes ↵Marcoen Hirschberg
playback, the 'speaker' button brings you to the menu git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13633 a1c6a512-1295-4272-9138-f99709370657
2007-05-26FS#7158 - Bookmark selection as a list.Magnus Holmgren
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13495 a1c6a512-1295-4272-9138-f99709370657
2007-05-20add separate button defines for the Gigabeat remote controlMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13442 a1c6a512-1295-4272-9138-f99709370657
2007-04-27changed POWER to be the cancel/stop button and A to be the modifier button ↵Marcoen Hirschberg
to prevent acidental shutdowns git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13278 a1c6a512-1295-4272-9138-f99709370657
2007-04-13rename ACTION_WPSAB_RESET to ACTION_WPS_ABRESET to be more consistent with ↵Marcoen Hirschberg
the rest git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13142 a1c6a512-1295-4272-9138-f99709370657
2007-04-08minor actions cleanup:Jonathan Gordon
- 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
2007-03-04Change buttoncombo for switching between regular keyboard and Morse input ↵Nils Wallménius
mode to POWER+A git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12607 a1c6a512-1295-4272-9138-f99709370657
2007-03-04Enable Morse input mode in the virtual keyboard for gigabeat, use ↵Nils Wallménius
MENU+SELECT to switch between modes. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12606 a1c6a512-1295-4272-9138-f99709370657
2007-03-01Introducing the root menu!Jonathan Gordon
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
2007-02-27Code Police: Remove tabs throught apps/ . Hopefully no actual code Jonathan Gordon
change git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12504 a1c6a512-1295-4272-9138-f99709370657
2007-01-19fix keys for bookmarks on the gigabeatMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12074 a1c6a512-1295-4272-9138-f99709370657
2007-01-04Add Volume Up/Down buttons to keymap for WPSGreg White
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11913 a1c6a512-1295-4272-9138-f99709370657
2006-12-29fix the POWER button to leave the WPSMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11852 a1c6a512-1295-4272-9138-f99709370657
2006-12-12Action code: Made all private functions & variables static. Better module ↵Jens Arnold
separation, and it saves a bit of binary size. * Added a few missing 'const's. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11730 a1c6a512-1295-4272-9138-f99709370657
2006-11-06Patch #6145 by Alexander Levin - Pitch adjustment in semitone stepsLinus Nielsen Feltzing
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11442 a1c6a512-1295-4272-9138-f99709370657
2006-09-25fix the bug where when scrolling text left in the filebrowser you could ↵Martin Scarratt
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
2006-08-22Button action code for the Virtual keyboard. Extra buttons for H1xx remote: ↵Martin Scarratt
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
2006-08-21fix the gigabeat keymap file for the chaining commit 90min agoJonathan Gordon
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10675 a1c6a512-1295-4272-9138-f99709370657
2006-08-21Add keymaps for the gigabeatMarcoen Hirschberg
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10673 a1c6a512-1295-4272-9138-f99709370657