summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/button.c (follow)
Commit message (Collapse)AuthorAge
* - Move uisimulator/sdl/*.[ch] into the target tree, under ↵Thomas Martitz2010-05-15
| | | | | | | | | | firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. - Refactor the program startup. main() is now in main.c like on target, and the implicit application thread will now act as our main thread (previously a separate one was created for this in thread initialization). This is part of Rockbox as an application and is the first step to make an application port from the uisimulator. In a further step the sim bits from the sdl build will be separated out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26065 a1c6a512-1295-4272-9138-f99709370657
* Add MPIO HD200 port - changed filesMarcin Bukat2010-04-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25724 a1c6a512-1295-4272-9138-f99709370657
* UIsimulator: iAudio M3 remote keys add.Yoshihisa Uchida2010-03-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25204 a1c6a512-1295-4272-9138-f99709370657
* Turn the simulator background into a clickable area. i.e. you click on the ↵Frank Gevaerts2010-02-16
| | | | | | | | | | | play button to press play. It also maps mouse scrollwheel events to rockbox scrollwheel events. This facilitates testing because you don't have to move your hand between the mouse and keyboard. Author: Fred Bauer Flyspray: FS#11008 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24696 a1c6a512-1295-4272-9138-f99709370657
* Packard Bell Vibe 500: add the simulatorSzymon Dziok2010-02-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24439 a1c6a512-1295-4272-9138-f99709370657
* Fix FS#10867 and a few more potential issues by imitate target scrollwheel ↵Thomas Martitz2010-01-19
| | | | | | behavior more (although that behavior is suboptimal imo). Also, default for maximum backlight brightness in the sim and move stuff into sim.h. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24289 a1c6a512-1295-4272-9138-f99709370657
* Simulator: Fix reds.Tomer Shalev2010-01-16
| | | | | | | | Add key mapping of touchscreen targets M-Robe 500 and Onda VX747 to avoid use of arrow keys. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24254 a1c6a512-1295-4272-9138-f99709370657
* Simulator: Add key mappings for Cowon D2Tomer Shalev2010-01-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24253 a1c6a512-1295-4272-9138-f99709370657
* Simulator: Make touchscreen targets usable on keyboards w/o numpad (laptops)Tomer Shalev2010-01-16
| | | | | | | | | | | | Use 7,8,9,u,i,o,j,k,l as equivalent to the numpad keys used to simulate touching in grid mode (3x3 buttons). These are the keys usually used on such keyboards for numpad keys when the Num Lock is enabled. The USB key on these targets is changed to 'c' (connect) to avoid conflict in key mappings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24252 a1c6a512-1295-4272-9138-f99709370657
* Cowon D2: Rename COWOND2_PAD -> COWON_D2_PAD to match macro used in manual, andTomer Shalev2009-12-15
| | | | | | | to target naming conventions in general git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24010 a1c6a512-1295-4272-9138-f99709370657
* FS#10711 by Martin Ritter fixes handling of the 'First Keypress Enables ↵Nils Wallménius2009-12-04
| | | | | | Backlight Only' setting in simulators git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23849 a1c6a512-1295-4272-9138-f99709370657
* Simulator: change the fix around so that it applies to all scrollwheel targets.Karl Kurbjun2009-10-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23439 a1c6a512-1295-4272-9138-f99709370657
* Simulator: Fix scrollwheel targets without HAVE_WHEEL_ACCELERATION definedKarl Kurbjun2009-10-31
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23438 a1c6a512-1295-4272-9138-f99709370657
* make the mini2440 simulator compile.Dominik Wenger2009-10-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23379 a1c6a512-1295-4272-9138-f99709370657
* Simulator: Fix scrollwheel targets.Karl Kurbjun2009-10-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22977 a1c6a512-1295-4272-9138-f99709370657
* Simulator buttons: Remove a hack and make brickmania work the same as on target.Karl Kurbjun2009-10-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22936 a1c6a512-1295-4272-9138-f99709370657
* Fix non-hold button and headphone detection target sims.Thomas Martitz2009-09-23
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22800 a1c6a512-1295-4272-9138-f99709370657
* Rework the simulators button reading to not implement it's own complete driver.Thomas Martitz2009-09-23
| | | | | | | Instead, implement it more as a target driver with button_read_device(), button_init_device() and button_hold(), then use the normal button driver from firmware/drivers/button.c. Fixes FS#10451 ("backlight off on hold doesn't function properly"). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22799 a1c6a512-1295-4272-9138-f99709370657
* * Fix plugin keymaps for VX777Maurus Cuelenaere2009-08-31
| | | | | | | | | * Enable plugins for VX777 * Fix VX777 simulator All done by Aaron DeMille. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22576 a1c6a512-1295-4272-9138-f99709370657
* initial commit of remote support for m:robe 100 courtesy of lowlight; ↵Robert Kukla2009-07-26
| | | | | | simulator support including small fixes for the m:robe 500 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22053 a1c6a512-1295-4272-9138-f99709370657
* Make the Sansa Clip and Fuze sim keymapping more like other Sansas with ↵Thomas Martitz2009-07-08
| | | | | | regard to the use of the numpad git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21713 a1c6a512-1295-4272-9138-f99709370657
* Change the button definitions for the SA9200 sim tooMark Arigo2009-07-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21699 a1c6a512-1295-4272-9138-f99709370657
* Philips SA9200: add the UI simMark Arigo2009-06-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21348 a1c6a512-1295-4272-9138-f99709370657
* Onda VX747 simulator: add some more usefull keysMaurus Cuelenaere2009-06-15
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21303 a1c6a512-1295-4272-9138-f99709370657
* 3 new ports: Samsung YH-820, YH-920, and YH-925. Mostly functional. Audio ↵Mark Arigo2009-05-25
| | | | | | working on 820 & 925 (untested on the 920). No battery readings. No recording. No plugins. Keymap needs work. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21083 a1c6a512-1295-4272-9138-f99709370657
* beginings of a working touchscreen interface for the WPS. 2 new tags:Jonathan Gordon2009-04-20
| | | | | | | | | | | %T|x|y|width|height|action| <- setup a region (relative to the current viewport) where if pressed the "action" will be done (currently play/stop/prev/next/menu/browse work, suggestions for others to add and better names welcome) %Tl<timeout> <- used as a conditional to say if the touchscreen was touched in the last <timeout>, use this to enable/disable button viewports or something... same syntax as other timeout tags cabbiev2 for the mr500 has been modified to demonstrate the new tags. press the pause/play button to pause playback. press the rockbox logo to get back to the menu. pretty icons needed to make this more usable :) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20753 a1c6a512-1295-4272-9138-f99709370657
* Add a few simulator keys for the e200 (in case you don't have a numpad)Antoine Cellerier2009-04-05
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20628 a1c6a512-1295-4272-9138-f99709370657
* Add support for Onda VX747 simulator (and yes, it needs a better picture)Maurus Cuelenaere2009-03-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20273 a1c6a512-1295-4272-9138-f99709370657
* Add a rockbox kernel thread for simulator specific tasks, and use that for ↵Jens Arnold2009-02-20
| | | | | | calling the screendump function(s). Fixes screendump in simulators for backlight-less targets (Ondio), and reduces mixing of unrelated functionality a bit (screendump was called from backlight thread, triggered by a sim-only system wide event). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20065 a1c6a512-1295-4272-9138-f99709370657
* Put the display colours for monochrome and greyscale targets into the target ↵Jens Arnold2009-02-09
| | | | | | config files, and use them both for the simulator UI and screendumps. The Clip now shows the split display properly in screendumps and simulator. A side effect is that screendumps of ordinary monochrome targets are now 4-bit BMP files (saves an alternate code path, and might be more compatible with some gfx programs). * Simplify the simulation of split display, and also simplify greylib simulation. The simulator now always calculates 129 shades (2*128 for a Clip sim), and just uses 2 (or 4) of those for native display simulation. * Centralised the simulator LCD dimension definition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19950 a1c6a512-1295-4272-9138-f99709370657
* fix m200v4 simulator.Dominik Wenger2009-01-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19711 a1c6a512-1295-4272-9138-f99709370657
* Add the sim build for the Philips HDD1630.Mark Arigo2009-01-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19639 a1c6a512-1295-4272-9138-f99709370657
* m200v4: make buttons work again (added a small delay). make m200 keymap ↵Dominik Wenger2008-11-14
| | | | | | better. Add button mappings for the sim. Remove some config defines temporary to make building work again. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19104 a1c6a512-1295-4272-9138-f99709370657
* FS#9535 - Sansa Fuze simJonathan Gordon2008-11-11
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19086 a1c6a512-1295-4272-9138-f99709370657
* Sansa Clip simulator: bind p/escape to power buttonRafaël Carré2008-11-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18986 a1c6a512-1295-4272-9138-f99709370657
* Sansa Clip simulatorRafaël Carré2008-10-31
| | | | | | First draft at keymapping based on e200 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18948 a1c6a512-1295-4272-9138-f99709370657
* iaudio7: simulatorVitja Makarov2008-10-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18861 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
* Revert r17988 and instead fix the button labels in the ipod simulator ↵Dave Chapman2008-07-08
| | | | | | background images. This isn't 100% perfect (I didn't go back to the layered source images), but IMO is good enough. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17991 a1c6a512-1295-4272-9138-f99709370657
* Fix the simulator buttons for the iPod scrollwheels. Closes FS#8956.Marc Guay2008-07-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17988 a1c6a512-1295-4272-9138-f99709370657
* volume buttons for gigabeat simRobert Kukla2008-07-06
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17956 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
* initial Meizu M6SL port (take 2)Marcoen Hirschberg2008-06-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17819 a1c6a512-1295-4272-9138-f99709370657
* Fix M:Robe 500 simulatorMaurus Cuelenaere2008-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17663 a1c6a512-1295-4272-9138-f99709370657
* (Simulator) Touchscreen improvements.Maurus Cuelenaere2008-05-30
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17662 a1c6a512-1295-4272-9138-f99709370657
* 1) Add ZVM60GB and ZV simulator builds (ZVM60GB sim equals to ZVM30GB)Maurus Cuelenaere2008-05-15
| | | | | | | | 2) Correct typo which'll break build system for ZV currently 3) Split up keymaps for ZV & ZVM git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17525 a1c6a512-1295-4272-9138-f99709370657
* Make ZVM30GB simulator work.Maurus Cuelenaere2008-05-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17513 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
* Greyscale library: * Implement linearisation curve flipping for 1st/2nd Gen ↵Jens Arnold2008-04-02
| | | | | | iPods (LCD is inverted when backlight is on, so the curve is also inverted). This needs a slight extension of is_backlight_on() functionality in the core. * Thorough recalibration of all reachable greyscale targets, and #ifdef cleanup. * Reduce on-target gamma a bit, because the displayable contrast range of a monochrome/greyscale isn't that high. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16936 a1c6a512-1295-4272-9138-f99709370657
* Revert "initial Meizu M6SL port"Marcoen Hirschberg2008-03-27
| | | | | | | This reverts commit b7bd17ce1715c3a8acbf74a63694c28b6075da5b. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16846 a1c6a512-1295-4272-9138-f99709370657