summaryrefslogtreecommitdiffstats
path: root/uisimulator/x11/button-x11.c
AgeCommit message (Collapse)AuthorFilesLines
2006-08-12Remove Win32 and X11 simulator sources. They've been deprecated for a while ↵Dan Everton1-321/+0
in favour of the SDL sim. Time to go. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10543 a1c6a512-1295-4272-9138-f99709370657
2006-02-19Adaptive button repeat: adapts repeat rate depending on the ability of the ↵Jens Arnold1-2/+11
application to cope. Avoids afterscroll and similar effects. * Yield while scrolling through lists. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8738 a1c6a512-1295-4272-9138-f99709370657
2005-11-22added the stubs for the hold buttons on H300 simulatorKevin Ferrare1-1/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8047 a1c6a512-1295-4272-9138-f99709370657
2005-11-21Backlight handling: * Added 'Caption Backlight' and 'Backlight On When ↵Jens Arnold1-1/+10
Charging' for the iriver remote LCD. * Enabled the backlight code for the simulator, and prepared backlight simulation. It's only a stub atm, writing messages to the console window. * Added tick task handling to the simulators for this to work. * Code cleanup in backlight.c, less dead code. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8034 a1c6a512-1295-4272-9138-f99709370657
2005-08-21Sim build fixLinus Nielsen Feltzing1-1/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7373 a1c6a512-1295-4272-9138-f99709370657
2005-03-18Major rework of the x11 simulator button handling. (1) Button repeat should ↵Jens Arnold1-81/+130
always work correctly now, not sending a release before the repeat(s). Fixes e.g. calling the Ondio menu. (2) Button handling is done in the timer thread, not sleep()ing the main thread for extended times. Fixes slow performance of high-workload plugins (codec tests). (3) The x11 simulator now also contains the queue handling code. (4) The new code requires X11R6 because the multi-threading extension is used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6215 a1c6a512-1295-4272-9138-f99709370657
2005-03-18Extensive code policing (indentation levels, tab characters).Jens Arnold1-62/+63
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6199 a1c6a512-1295-4272-9138-f99709370657
2005-03-03dummy button_hold() function to fix iriver sim builds.Michiel Van Der Kolk1-0/+7
(needs to be fixed to actually work on sims later) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6117 a1c6a512-1295-4272-9138-f99709370657
2005-02-07long policyJean-Philippe Bernardy1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5845 a1c6a512-1295-4272-9138-f99709370657
2005-01-26Changed several places to use button_clear_queue() to empty the button ↵Jens Arnold1-0/+1
queue. Added the ability to empty the (system's) button queue to the X11 simulatr. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5665 a1c6a512-1295-4272-9138-f99709370657
2005-01-17X11 sim: Button handling adapted to iRiver and reworked a bit. Removed tab ↵Jens Arnold1-62/+67
chars. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5587 a1c6a512-1295-4272-9138-f99709370657
2004-09-28a hell of a commit: changed several HAVE_xx configuration flags into ↵Jörg Hohensohn1-2/+2
multiple choice values (keypad, tuner, CPU, h/w codec) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5126 a1c6a512-1295-4272-9138-f99709370657
2004-09-19Redesigned the button handling. The code now uses symbolic function defines ↵Björn Stenberg1-8/+24
instead of checking for specific buttons. This makes it easier to add support for new devices with different button layouts. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5091 a1c6a512-1295-4272-9138-f99709370657
2004-09-16Moved LCD_WIDHT/HEIGHT from lcd driver to config file.Björn Stenberg1-0/+1
Simulators now use conig-xxx.h. Added Iriver H100 to tools/configure. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5081 a1c6a512-1295-4272-9138-f99709370657
2004-07-24Removed annoying debug outputLinus Nielsen Feltzing1-3/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4943 a1c6a512-1295-4272-9138-f99709370657
2004-07-23Somewhat better key combination handlingLinus Nielsen Feltzing1-1/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4930 a1c6a512-1295-4272-9138-f99709370657
2004-07-21Forgot to remove all traces of the obsolete repeat mask functionsLinus Nielsen Feltzing1-3/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4909 a1c6a512-1295-4272-9138-f99709370657
2004-07-21Added raw button reading functionalityLinus Nielsen Feltzing1-14/+9
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4907 a1c6a512-1295-4272-9138-f99709370657
2004-06-30New screen dump feature for recordersLinus Nielsen Feltzing1-0/+10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4817 a1c6a512-1295-4272-9138-f99709370657
2004-06-10Finally, the archos directory sandbox works in the same way for both X11 and ↵Linus Nielsen Feltzing1-3/+3
win32 simulators. Unfortunately, this breaks the VC++ compatibility. Also, the plugin API now supports DEBUGF. Last, but not least, we have a new plugin, vbrfix.rock. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4726 a1c6a512-1295-4272-9138-f99709370657
2003-04-23Now supports key-repeat in the simulator!Daniel Stenberg1-5/+11
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3594 a1c6a512-1295-4272-9138-f99709370657
2003-01-24Remove use of rockbox-mode.el in local variables list.Mats Lidell1-6/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3157 a1c6a512-1295-4272-9138-f99709370657
2002-10-14Now the X11 simulator sets the BUTTON_REL bit properly and thus generatesDaniel Stenberg1-10/+6
button release events, much in the same way the actual target behaves. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2606 a1c6a512-1295-4272-9138-f99709370657
2002-10-13slow down the button check function, this makes the cube look sane in theDaniel Stenberg1-0/+4
simulator git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2605 a1c6a512-1295-4272-9138-f99709370657
2002-08-21Added button release eventsBjörn Stenberg1-16/+41
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1885 a1c6a512-1295-4272-9138-f99709370657
2002-08-07healing the X11 simulator (button_get_w_tmo wise), please bear with me as IDaniel Stenberg1-0/+19
haven't tested this fix but it compiles nicely ;-) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1579 a1c6a512-1295-4272-9138-f99709370657
2002-08-05there is no XK_Enter!Daniel Stenberg1-2/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1538 a1c6a512-1295-4272-9138-f99709370657
2002-08-05George Styles added a few keys for running the simulator on without numericalDaniel Stenberg1-0/+16
keypad git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1535 a1c6a512-1295-4272-9138-f99709370657
2002-07-27Added set_release() and set_repeat()Linus Nielsen Feltzing1-0/+17
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1467 a1c6a512-1295-4272-9138-f99709370657
2002-06-25Some X servers send KP_Begin for keypad 5Björn Stenberg1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1177 a1c6a512-1295-4272-9138-f99709370657
2002-06-14warning hunt and kill sessionDaniel Stenberg1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1000 a1c6a512-1295-4272-9138-f99709370657
2002-05-29shorten the sleep for blocking key-gets to make it behave betterDaniel Stenberg1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@776 a1c6a512-1295-4272-9138-f99709370657
2002-05-28adjusted to new button_get apiDaniel Stenberg1-2/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@765 a1c6a512-1295-4272-9138-f99709370657
2002-05-21Added player MENU and ON keysBjörn Stenberg1-0/+6
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@646 a1c6a512-1295-4272-9138-f99709370657
2002-05-16Added support for player keypadBjörn Stenberg1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@597 a1c6a512-1295-4272-9138-f99709370657
2002-05-13Changing to C99 'bool'Björn Stenberg1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@562 a1c6a512-1295-4272-9138-f99709370657
2002-05-04don't define anything like this hereDaniel Stenberg1-1/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@421 a1c6a512-1295-4272-9138-f99709370657
2002-04-27moved X11-specific files into a separate subdir to keep root clean forDaniel Stenberg1-0/+108
target files git-svn-id: svn://svn.rockbox.org/rockbox/trunk@282 a1c6a512-1295-4272-9138-f99709370657