Thread: Sleep OF Death!
View Single Post
  #23 (permalink)  
Old 02-18-2010, 04:21 PM
HTCotta's Avatar
HTCotta
Halfway to VIP Status
Offline
 
Join Date: Jul 2008
Posts: 595
Reputation: 380
HTCotta is becoming a PPCGeeks regularHTCotta is becoming a PPCGeeks regularHTCotta is becoming a PPCGeeks regularHTCotta is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Sleep OF Death!

Sorry, I'm on a Sprint phone so my buttons are a tad different I forgot. Yes the backlight button on the top of the phone, the end key has no power functions on the Sprint version.

Portion of my config related to power button:
- <Key>
<KeyCode>65</KeyCode>

<Modifier>None</Modifier>

<Active>True</Active>

- <Rules>
- <Rule>
<Name>*</Name>

<ProcessKey>True</ProcessKey>

<WindowText />

<MatchType>Class</MatchType>

<KeyMode>SeparateActions</KeyMode>

- <KeyMapping>
<Repeat>False</Repeat>

<RepeatInterval>100</RepeatInterval>

<KeyCode>-1</KeyCode>

<Target>OS</Target>

<Ctrl>False</Ctrl>

<Shift>False</Shift>

<Alt>False</Alt>

<Win>False</Win>

<RWin>False</RWin>

<Action>False</Action>

</KeyMapping>


- <Click>
<RepeatInterval>100</RepeatInterval>

<Repeat>False</Repeat>

- <Action>
<ActionType>DefaultKeyAction</ActionType>

<KeyCode>65</KeyCode>

<ExtendedEmulation>True</ExtendedEmulation>

</Action>


</Click>


- <DoubleClick>
<RepeatInterval>100</RepeatInterval>

<Repeat>False</Repeat>

</DoubleClick>


- <TripleClick>
<RepeatInterval>100</RepeatInterval>

<Repeat>False</Repeat>

</TripleClick>


- <LongPress>
<RepeatInterval>100</RepeatInterval>

<Repeat>False</Repeat>

- <Action>
<ActionType>EmulateKeyPress</ActionType>

<KeyCode>133</KeyCode>

<Target>OS</Target>

<Ctrl>False</Ctrl>

<Shift>False</Shift>

<Alt>False</Alt>

<Win>False</Win>

<RWin>False</RWin>

<Action>False</Action>

</Action>


</LongPress>


</Rule>


</Rules>


</Key>

So throw that in your config and see if it doesn't work for you. The only drawback is that it doesn't play all that nice while music is playing through the headphones. If you short press, the screen won't wake back up until you long press to lock, unless you locked it when you shut it off. Minor stuff, really, it ONLY behaves that way while listening to music with headphones. Let me know how it works for you.

Edit: It doesn't seem to want to let me upload my config here so i hope that works, it looks like the copy paste botched some formatting but give it a go.

Last edited by HTCotta; 02-18-2010 at 04:25 PM.
Reply With Quote
This post has been thanked 1 times.