Rani Hod
e559cdb916
fixed bootloader problem not only for x5.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10492 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 22:45:13 +00:00
Rani Hod
c9f59e6f75
Accepted FS #5772 by Michael Sevakis
...
1. X5 lcd sleep
2. #define HAVE_LCD_ENABLE
3. add "backlight (on hold switch)" setting, adapted from FS #5735
Note that the while(1) yield ==> asm("halt") part is NOT commited here,
I prefer it would be discussed separately.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10489 a1c6a512-1295-4272-9138-f99709370657
2006-08-08 22:03:56 +00:00
Linus Nielsen Feltzing
c849219370
Moved the X5 button driver to the target tree
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10339 a1c6a512-1295-4272-9138-f99709370657
2006-07-27 13:27:31 +00:00
Jens Arnold
0dd1f8ec11
Work-in-progress rework of charging status reading & display: * Changed several charging related HAVE_* macros into one multi-value CONFIG_CHARGING. * Always use proper macros for charging states. * Battery symbol charging animation now starts from current level on all targets with charging. Two-colour animation kept for non-b&w targets. Round down fill level while charging as before, but round to nearest pixel value for discharging on all targets. * Charging anim fixed on player. * Some code cleanup.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10080 a1c6a512-1295-4272-9138-f99709370657
2006-06-06 22:23:52 +00:00
Jens Arnold
67604c960b
Ipods, X5: Proper backlight behaviour on buton unlock.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9788 a1c6a512-1295-4272-9138-f99709370657
2006-04-24 07:14:16 +00:00
Frank Dischner
54d757b0c5
Prevent scroll wheel on mini 1g from over-scrolling when scrolling very fast.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9740 a1c6a512-1295-4272-9138-f99709370657
2006-04-20 07:44:58 +00:00
Frank Dischner
5d9eccd85b
Fix button driver for ipod mini 1G.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9732 a1c6a512-1295-4272-9138-f99709370657
2006-04-19 18:06:56 +00:00
Jens Arnold
5380376dbc
H300 (and H1x0): Improved button debouncing. Solves the possible 'fake doubleclick' effect by not pretending no button is pressed if the reading is unstable. Now it uses the latest stable reading instead.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9691 a1c6a512-1295-4272-9138-f99709370657
2006-04-16 22:28:24 +00:00
Jens Arnold
5106e228cc
Since we poll buttons every tick now, the extra if() checking the polling interval was obsolete. Pointed out by Mikael Magnusson. * Some tweaks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9536 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 18:58:42 +00:00
Jens Arnold
cef83c782f
Do extra filtering in H300 (and H100) main unit button reading to suppress wrong readings during voltage transitions. * Optimised multi-button ADC reads to use a balanced binary tree with an initial check for 'any button' to determine the pressed button. * The iriver button driver wouldn't have detected main unit (ADC-connected) buttons as long as remote buttons (ADC-connected) were pressed (btn = value; vs. btn |= value), * Do extra filtering in the recorder v1 OFF button read, to suppress spurious OFF events. * Some more tweaks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9530 a1c6a512-1295-4272-9138-f99709370657
2006-04-06 07:27:11 +00:00
Jens Arnold
3a3304fa31
greyscale iPod LCD: Working display flip. * Correct register definitions for HD66753. * Correct 1/3 and 2/3 greylevels. * Some tweaks.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9414 a1c6a512-1295-4272-9138-f99709370657
2006-04-01 23:48:03 +00:00
Jens Arnold
dc8de7ea3d
iPod mini 2G: Use iPod 4G button driver instead of special minin 1G code. Buttons working now, rockbox no longer hangs at boot.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9364 a1c6a512-1295-4272-9138-f99709370657
2006-03-30 18:14:08 +00:00
Daniel Stenberg
f4ac85ac06
ok, this is the correct PLAY/REC swap!
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9270 a1c6a512-1295-4272-9138-f99709370657
2006-03-26 22:41:58 +00:00
Hristo Kovachev
a70c6b9b1e
Patch #4913 by David Rothenberger with some changes by me: add only backlight on first keypress to the lcd remotes, too.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9253 a1c6a512-1295-4272-9138-f99709370657
2006-03-25 19:16:45 +00:00
Björn Stenberg
da5fb18bca
New option: First keypress enables backlight only. Patch #2920 by Nicolas Pennequin.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9228 a1c6a512-1295-4272-9138-f99709370657
2006-03-24 13:47:24 +00:00
Hristo Kovachev
b492cf4ac4
Removed an unneeded BUTTON_HOLD define for iPod 3G
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9151 a1c6a512-1295-4272-9138-f99709370657
2006-03-21 10:33:11 +00:00
Brandon Low
dd5a85839e
Reduce code size and generally clean up the button driver more! * Add 'wheel repeat' functionality to prevent scrolling past the end of lists in a continuous scroll. Can release and resume scrolling to wrap to the top (4g, 5g, nano).
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9110 a1c6a512-1295-4272-9138-f99709370657
2006-03-19 01:12:28 +00:00
Brandon Low
0c620cc681
Improve button driver performance on ipod a bit by moving around queue checks and properly detecting end-of-scroll. * Provide to an application which reads the button queue directly the data from the wheel (position and delta) for custom wheel driver (only sent for deltas large enough to cause a scroll event for now
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9099 a1c6a512-1295-4272-9138-f99709370657
2006-03-18 20:07:02 +00:00
Brandon Low
4431ab237e
Code policing
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8989 a1c6a512-1295-4272-9138-f99709370657
2006-03-10 12:55:13 +00:00
Linus Nielsen Feltzing
c11a68aee2
iAudio X5: Remote control buttons
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8968 a1c6a512-1295-4272-9138-f99709370657
2006-03-09 07:23:07 +00:00
Brandon Low
a4b45ee131
Additional minor button interrupt tweaks, in a completely unscientific way, this seems to make the 5g more responsive at 30mhz
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8940 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 05:21:00 +00:00
Brandon Low
b5648000ba
Slight simplification of scroll button driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8939 a1c6a512-1295-4272-9138-f99709370657
2006-03-07 04:56:55 +00:00
Jens Arnold
8c50ff2788
More efficient button_read() for archos recorders and Ondios.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8908 a1c6a512-1295-4272-9138-f99709370657
2006-03-05 09:07:03 +00:00
Dave Chapman
285079138b
Patch #3060 from Andrew Scott - iPod mini button driver
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8857 a1c6a512-1295-4272-9138-f99709370657
2006-02-27 12:35:05 +00:00
Dave Chapman
fb4e384367
More iPod 3G work from Seven Le Mesle
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8835 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 20:54:09 +00:00
Linus Nielsen Feltzing
b902428180
Ooops. Forgot to remove some debug code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8830 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:40:55 +00:00
Linus Nielsen Feltzing
568ac3eb21
Button driver for iAudio X5
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8828 a1c6a512-1295-4272-9138-f99709370657
2006-02-24 15:06:25 +00:00
Hristo Kovachev
7f6fe6aa35
Multiple remote support for iriver Hxxx stage 2: now button_read() returns correct buttons for each remote type.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8752 a1c6a512-1295-4272-9138-f99709370657
2006-02-20 20:08:27 +00:00
Jens Arnold
237d3c4c4b
Adaptive button repeat: adapts repeat rate depending on the ability of the 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
2006-02-19 13:34:12 +00:00
Dave Chapman
3ba5a0b24a
iPods - implement button_hold() function
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8727 a1c6a512-1295-4272-9138-f99709370657
2006-02-18 18:42:46 +00:00
Thom Johansen
1f8529708b
Make the clickwheel driver stop buffering events if Rockbox is too busy
...
to handle them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8650 a1c6a512-1295-4272-9138-f99709370657
2006-02-10 14:39:19 +00:00
Jens Arnold
27f69db404
Fine-tuned ADC values for H300 button driver.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8605 a1c6a512-1295-4272-9138-f99709370657
2006-02-07 12:41:04 +00:00
Dave Chapman
2f11278b59
Correct the comment to match the new code
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8593 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 21:26:22 +00:00
Dave Chapman
afb2564b84
iPod: Increase udelay() up to 50 - this was causing problems when the hold switch was being used
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8590 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 20:58:41 +00:00
Dave Chapman
465596b163
More iPod 3G code from Seven Le Mesle
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8582 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 17:16:34 +00:00
Linus Nielsen Feltzing
1ee68b0e88
iAudio X5: hold button functions (not yet complete)
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8574 a1c6a512-1295-4272-9138-f99709370657
2006-02-05 00:20:11 +00:00
Dave Chapman
1023cedb79
iPod: Remove/reduce the udelay()s in the button driver. They were in the IPL source, but do not appear to be needed.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8530 a1c6a512-1295-4272-9138-f99709370657
2006-02-02 11:24:32 +00:00
Thom Johansen
22e6c02f8e
Removed PP5020_ prefix from register defines and added/renamed some
...
defines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8438 a1c6a512-1295-4272-9138-f99709370657
2006-01-24 22:31:57 +00:00
Brandon Low
b016185c99
Fix red builds
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8392 a1c6a512-1295-4272-9138-f99709370657
2006-01-19 20:12:49 +00:00
Dave Chapman
d83e929f3f
Work-in-progress iriver iFP-7xx port by Tomasz Malesinski
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8342 a1c6a512-1295-4272-9138-f99709370657
2006-01-12 00:35:50 +00:00
Dave Chapman
bd544b6c20
iPod: Enable HAVE_SW_POWEROFF define and map power-off to a very long press on PLAY
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8278 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 09:27:23 +00:00
Thom Johansen
2e55f1c9b0
Button driver would insert erronous events when wheel position overflowed, this fixes it.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8277 a1c6a512-1295-4272-9138-f99709370657
2005-12-22 00:01:36 +00:00
Dave Chapman
c3f9d0063f
Correctly attribute Bernard Leach as the (C) holder for code taken from ipodlinux.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8264 a1c6a512-1295-4272-9138-f99709370657
2005-12-19 14:30:52 +00:00
Dave Chapman
0dc63c1b71
Remove IPOD_NANO_PAD definition - the Nano's keypad has turned out to be identical to the other 4G models
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8262 a1c6a512-1295-4272-9138-f99709370657
2005-12-19 00:11:28 +00:00
Thom Johansen
8bf079ffc1
Button and click wheel driver for iPod 4g and Nano.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8256 a1c6a512-1295-4272-9138-f99709370657
2005-12-17 19:08:55 +00:00
Magnus Holmgren
33289d090f
fix yellow builds.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8058 a1c6a512-1295-4272-9138-f99709370657
2005-11-23 22:34:11 +00:00
Magnus Holmgren
a04b1d418d
iriver: only show remote lock icon if remote is locked and plugged.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8057 a1c6a512-1295-4272-9138-f99709370657
2005-11-23 21:50:09 +00:00
Jens Arnold
d726592900
Some minor tweaks for iriver button_read()
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8049 a1c6a512-1295-4272-9138-f99709370657
2005-11-23 01:01:25 +00:00
Jens Arnold
b51f7dfc9b
Backlight handling: * Added 'Caption Backlight' and 'Backlight On When 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-11-21 23:55:39 +00:00
Dave Chapman
fbfb7db4b7
Correct typo that prevented Nano from building
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7990 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 11:30:49 +00:00