Commit graph

93 commits

Author SHA1 Message Date
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
Jörg Hohensohn
593cc00447 a hell of a commit: changed several HAVE_xx configuration flags into 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-28 22:13:26 +00:00
Jens Arnold
23f2a59865 Added debouncing to the Ondio button driver.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5115 a1c6a512-1295-4272-9138-f99709370657
2004-09-23 22:36:15 +00:00
Henrik Backe
a30c1caaf5 Fixed yellow build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5111 a1c6a512-1295-4272-9138-f99709370657
2004-09-23 19:38:00 +00:00
Linus Nielsen Feltzing
5f8ffa02a6 An attempt to filter the button reading
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5109 a1c6a512-1295-4272-9138-f99709370657
2004-09-23 12:08:48 +00:00
Jens Arnold
2d875f83e6 Disabled all code for the serial remote on Ondio, since the serial port is needed for MMC access.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5097 a1c6a512-1295-4272-9138-f99709370657
2004-09-20 22:15:35 +00:00
Björn Stenberg
57945b125d Removed the Neo code. Nobody is interested in it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5096 a1c6a512-1295-4272-9138-f99709370657
2004-09-20 08:10:43 +00:00
Björn Stenberg
6c33c51a4c Redesigned the button handling. The code now uses symbolic function defines 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-19 21:58:37 +00:00
Jörg Hohensohn
73792b474e Ondio levels adjusted, use ADC channel names
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5074 a1c6a512-1295-4272-9138-f99709370657
2004-09-15 07:03:11 +00:00
Jörg Hohensohn
cde9844748 minor oops
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5056 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 11:28:44 +00:00
Jörg Hohensohn
24c7c04899 adjustment for the Ondio: button driver has an Odio part, for now it has a Player layout. Some fixes in the app code were necessary to remove dependencies of LCD, keypad, this wasn't independent everywhere.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5055 a1c6a512-1295-4272-9138-f99709370657
2004-09-10 10:51:54 +00:00
Linus Nielsen Feltzing
8d54253b0d button_clear_queue() now works as expected
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5031 a1c6a512-1295-4272-9138-f99709370657
2004-09-01 06:24:57 +00:00
Linus Nielsen Feltzing
6b8d020876 Now doesn't generate extraneous key-down events when releasing one key in a combo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4939 a1c6a512-1295-4272-9138-f99709370657
2004-07-24 20:38:56 +00:00
Linus Nielsen Feltzing
a754dd84b8 Added raw button reading functionality
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4907 a1c6a512-1295-4272-9138-f99709370657
2004-07-21 08:02:23 +00:00
Linus Nielsen Feltzing
e61f6fa599 Added reset_poweroff_timer(), which can be used to prevent idle poweroff. This is also available in the plugin API.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4787 a1c6a512-1295-4272-9138-f99709370657
2004-06-22 07:16:31 +00:00
Daniel Stenberg
43d351a3d1 remove C++/C99 comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4753 a1c6a512-1295-4272-9138-f99709370657
2004-06-16 11:28:22 +00:00
Björn Stenberg
8918fd89cd No need to turn on the backlight for remote button presses.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4432 a1c6a512-1295-4272-9138-f99709370657
2004-03-22 13:27:20 +00:00