Commit graph

109 commits

Author SHA1 Message Date
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
Dave Chapman
97df7cacea Fix button problems - disable button_flip for the iPod and disable software poweroff
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7981 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 02:26:54 +00:00
Linus Nielsen Feltzing
b4984492ef H300: remote backlight on GPO33
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7973 a1c6a512-1295-4272-9138-f99709370657
2005-11-19 01:09:38 +00:00
Linus Nielsen Feltzing
76b75efa06 H300 button driver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7908 a1c6a512-1295-4272-9138-f99709370657
2005-11-16 14:26:18 +00:00
Dave Chapman
d31a32c501 iPod: Code cleanup - the bootloader now compiles with zero warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7812 a1c6a512-1295-4272-9138-f99709370657
2005-11-11 17:51:35 +00:00
Jonas Häggqvist
8026f0fe05 Reverse previous commit - it had uneffected side-effects.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7546 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 21:38:22 +00:00
Jonas Häggqvist
aafb343d10 Fix to remote-hold check by Stephan Wezel - it always returned true when the remote wasn't present.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7538 a1c6a512-1295-4272-9138-f99709370657
2005-09-22 11:31:40 +00:00
Linus Nielsen Feltzing
91216a5edc The power thread now monitors the shutdown process and forces a poweroff if it takes more than 8 seconds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7517 a1c6a512-1295-4272-9138-f99709370657
2005-09-14 09:08:26 +00:00
Linus Nielsen Feltzing
7dec69dbce Safety net for devices with no hardware poweroff mechanism - hold STOP for several seconds to force a poweroff if the normal shutdown fails
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7512 a1c6a512-1295-4272-9138-f99709370657
2005-09-12 11:03:14 +00:00
Jens Arnold
0ec97339ae Check for features, not for models.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6966 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 16:22:56 +00:00
Daniel Stenberg
50264b243e the h300 models have hold too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6962 a1c6a512-1295-4272-9138-f99709370657
2005-07-01 09:46:48 +00:00
Daniel Stenberg
e8e953f5d5 I believe this is more likely to reflect the h300 keypad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6942 a1c6a512-1295-4272-9138-f99709370657
2005-06-30 10:27:29 +00:00
Christi Scarborough
9e8918b086 Resume rework. With the new resume function, 'Ask' and 'Ask Once' are redundant options, since you can resume after any startup using the resume key. These have been stripped out, and the resume code has been streamlined. A small bug in button handler initialisation has been fixed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6911 a1c6a512-1295-4272-9138-f99709370657
2005-06-29 12:23:09 +00:00
Christi Scarborough
7600708a7a BUTTON_RC_VOL relabeled as BUTTON_RC_MODE for consistency with main unit. RC keymappings changed to be consistent with main unit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6853 a1c6a512-1295-4272-9138-f99709370657
2005-06-24 13:19:16 +00:00
Jens Arnold
969b246f76 Corrected placement of parentheses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6624 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 22:40:57 +00:00
Tomas Salfischberger
70fca2f6fc Oops! Compile error on ondio and gmini... fixed now
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6620 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 18:01:14 +00:00
Tomas Salfischberger
5b338bd8a7 Bugfix: It was impossible to shut the iriver down with the remote.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6619 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 17:10:27 +00:00
Tomas Salfischberger
d23cec298d Killed a warning :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6616 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 16:08:38 +00:00
Tomas Salfischberger
6c999a9b53 More optimized fix (doing GPIO1_READ just once)
Formatting as amiconn wanted :)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6615 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 15:55:19 +00:00
Tomas Salfischberger
1e5ff8ad0a Fixed bug, the remote play/pause button (BUTTON_RC_ON) worked with hold on.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6614 a1c6a512-1295-4272-9138-f99709370657
2005-06-08 15:49:21 +00:00
Christian Gmeiner
ed0c8764c4 iRiver: added support for hold-button on main unit and remote control
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6320 a1c6a512-1295-4272-9138-f99709370657
2005-04-19 11:34:22 +00:00
Linus Nielsen Feltzing
70ad08ccab iRiver: Correct port pin setup for the local and remote keypad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6308 a1c6a512-1295-4272-9138-f99709370657
2005-04-18 12:56:19 +00:00
Linus Nielsen Feltzing
19631f4552 iRiver: Independent backlight timers for the main and remote LCD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6303 a1c6a512-1295-4272-9138-f99709370657
2005-04-15 16:16:26 +00:00
Linus Nielsen Feltzing
f48ec1f7fc iRiver: Support for remote control buttons
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5909 a1c6a512-1295-4272-9138-f99709370657
2005-02-11 13:13:36 +00:00
Linus Nielsen Feltzing
abcb16192e iRiver: added remote hold switch, and allow shutdown when charging
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5886 a1c6a512-1295-4272-9138-f99709370657
2005-02-10 21:52:54 +00:00
Jean-Philippe Bernardy
f997199ff8 long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5844 a1c6a512-1295-4272-9138-f99709370657
2005-02-07 22:57:05 +00:00
Jean-Philippe Bernardy
0b033a74d7 more precise settings for GMini adc levels
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5794 a1c6a512-1295-4272-9138-f99709370657
2005-02-05 10:52:51 +00:00
Jean-Philippe Bernardy
5dc8ff6b8c Added ON button support for gmini
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5738 a1c6a512-1295-4272-9138-f99709370657
2005-02-02 15:38:56 +00:00
Linus Nielsen Feltzing
9b6784dbfc Ooops, I did it again...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5673 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 11:53:13 +00:00
Linus Nielsen Feltzing
72de21ae97 button_status() no longer calls button_read(), since it isn't interrupt safe
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5670 a1c6a512-1295-4272-9138-f99709370657
2005-01-27 11:49:29 +00:00
Jens Arnold
9794cd449b (1) Remapped BUTTON_CANCEL->BUTTON_OFF for gmini better representing its function, and for consistency. (2) Removed TAB chars, prettified formatting
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5634 a1c6a512-1295-4272-9138-f99709370657
2005-01-23 00:27:21 +00:00
Daniel Stenberg
b07321e1f6 Jean-Philippe Bernardy: gmini100 keypad support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5553 a1c6a512-1295-4272-9138-f99709370657
2005-01-10 21:47:55 +00:00
Jens Arnold
303b4abfc5 Button driver overhaul: (1) Unified the button driver functions as much as possible (2) Proper #defines for FM recorder button ADC channels (3) Got rid of old port B #defines only valid for recorder (4) button filtering for all models (5) RoLo with ON after panic should now work for FM/V2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5472 a1c6a512-1295-4272-9138-f99709370657
2004-12-01 00:33:18 +00:00
Jens Arnold
bbc5931280 Properly initialize Port A button input pins (player coldstart)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5471 a1c6a512-1295-4272-9138-f99709370657
2004-11-30 01:02:59 +00:00
Jens Arnold
c30dcb8ad1 Remote control working again
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5467 a1c6a512-1295-4272-9138-f99709370657
2004-11-25 18:40:28 +00:00
Linus Nielsen Feltzing
0decb0099e Added iRiver button handling
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5430 a1c6a512-1295-4272-9138-f99709370657
2004-11-18 23:22:45 +00:00
Linus Nielsen Feltzing
0b3ea1bfcb Now the FM, V2 and Ondio players use the new SYS_POWEROFF event. Now you can safely turn off the player by holding OFF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5259 a1c6a512-1295-4272-9138-f99709370657
2004-10-12 11:00:19 +00:00
Jens Arnold
5cf1c97aea Button flip enabled on Ondio
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5226 a1c6a512-1295-4272-9138-f99709370657
2004-10-08 17:02:16 +00:00