Age | Commit message (Collapse) | Author | Files | Lines |
|
Allow Lineout to behave like headphone port in regards to
plug/unplug pause/resume
Change-Id: I9cb2c9c40e0bdf3bf7e1e272164acd343f6b3850
|
|
Speachy suggested we don't shut down the adc on ROLO
this fixes the random adc drop out on ROLO
Change-Id: Ife7d679ce51a6f767963210ee650815f1de12223
|
|
Fixes deficiencies with the button system on the X3
The x3 has an interesting button layout.
Multiple key presses are NOT supported unless
[BUTTON_POWER] is one of the combined keys
As you can imagine this causes problems as the power button takes
precedence in the button system and initiates a shutdown if the
key is held too long
instead of BUTTON_POWER use BUTTON_PWRALT in combination with other keys
IF using as a prerequsite button then BUTTON_POWER should be used
Multiple buttons are emulated by button_read_device but there are a few
caveats to be aware of:
Button Order Matters!
different keys have different priorities, higher priority keys 'overide'
the lower priority keys
VOLUP[7] VOLDN[6] PREV[5] NEXT[4] PLAY[3] OPTION[2] HOME[1]
There will be no true release or repeat events, the user can let off the
button pressed initially and it will still continue to appear to be
pressed as long as the second key is held
Tree scrolling is PLAY+NEXT or PLAY+PREV
Change-Id: I88dfee1c70a6a99659e8227f5becacc50cc43910
|
|
Fix issue with first battery sample taking 30 seconds
Clean up code
Change-Id: If2437d241e0ab4e3d23b141f5d853b6cf3209b07
|
|
Change-Id: I76eda59a391a408d1a6642497d8cc4aeb93a0da1
|
|
only check button values with adc when buttons are actually pressed
battery level check frequency is now around 30 seconds
switched to polling for the battery voltage w/ timeout
Ifdef functions Allow BACK OPTION PLAY to be the first of a two key combo
Change-Id: Icb48d62ac8d82b4dc931df5e1c5b4a84a9a69772
|
|
Change-Id: Ibbbcd9fd1e7e2cfa896678cccaa00296c86c2c62
|
|
There is no way to detect this at runtime so it is a user setting
Change-Id: Ibc5b87312238c59e3678d512af27e3a3bcb9a58a
|
|
(Brand new unit lasted one minute shy of 12 hours!)
Change-Id: I0330f43065412d432a45b555bb310f943eb526e7
|
|
This allows targets to automatically switch audio settings when the
line out is plugged/unplugged.
Only hooked up on the xDuoo X3, but there are other potential users.
Change-Id: Ic46a329bc955cca2e2ad0335ca16295eab24ad59
|
|
Also enable USB bootloader mode
Change-Id: I73224c2e694b9941993c89a114b48d2a907e0dfb
|
|
Change-Id: Ieab5f864751cf798b62c4e89e670acf7ade756ab
|
|
Cleaned up, rebased, and forward-ported from the xvortex fork.
(original credit to vsoftster@gmail.com)
Change-Id: Ibcc023a0271ea81e901450a88317708c2683236d
Signed-off-by: Solomon Peachy <pizza@shaftnet.org>
|