You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Joe Bowser <bo...@gmail.com> on 2012/08/03 20:29:40 UTC
Re: [jira] [Commented] (CB-913) Refactor Key Press Overrides on Android
Hey
So, is there a reason that we shouldn't put this in the next version?
Is this a terrible idea?
Joe
On Mon, Jul 30, 2012 at 1:21 PM, Joe Bowser (JIRA) <ji...@apache.org> wrote:
>
> [ https://issues.apache.org/jira/browse/CB-913?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13425188#comment-13425188 ]
>
> Joe Bowser commented on CB-913:
> -------------------------------
>
> Yes. There's no rhyme nor reason behind why they're mapped differently. We would either have to maintain a mapping, or let people who want to use these features maintain the mapping. This is for buttons like PLAY, PAUSE, X, O, Square, Block, etc.
>
> Also, one of the Sony Xperia Play keys acts like ALT + BACK, which is different than the regular back button. I had an Xperia Play fix earlier, but it disappeared. :S
>
>> Refactor Key Press Overrides on Android
>> ---------------------------------------
>>
>> Key: CB-913
>> URL: https://issues.apache.org/jira/browse/CB-913
>> Project: Apache Cordova
>> Issue Type: Improvement
>> Components: Android
>> Affects Versions: 1.8.0
>> Reporter: Joe Bowser
>> Assignee: Joe Bowser
>> Fix For: 2.1.0
>>
>>
>> Currently the Volume Up and Down events are in DroidGap.java. While this is fine for the general use case, it would be better if there was a utility class that handled these events. This would also allow us to implement the GamePad API for the Google TV events, because Google in their infinite wisdom chose to re-implement this instead of using the standard keyCodes for Up, Down, Left and Right.
>> This should fix existing bugs on Google TV, as well as make the code neater. It also addresses CB-417.
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>