Skip to content
This repository was archived by the owner on Nov 8, 2018. It is now read-only.
This repository was archived by the owner on Nov 8, 2018. It is now read-only.

Arrow keys and volume keys are not working #6

@ilius

Description

@ilius

Hi
I have a phone with physical QWERTY keyboard, and there are two features missing in this program that I need:
1- Handling arrow keys (up, down, left, right)
2- Handling volume up and down keys
Which both are essential for using in XBMC (with Raspberry Pi)

I started debugging the host Go code, and I realized the keyboard event for arrow keys are being sent, but it's empty and unrecognizable.
In file server/keyboard.go, function processKeyboard(), message.GetString() is empty string, and I tried printing out other attributes of message object (defined in scratch/messages.go), but I couldn't find any attribute that makes it different for arrow keys.

And almost the same happens in processKeyboard for volume keys, but this time, err variable (from GetString) is EOF

Unfortunately I have no experience with Android programming (I don't know how to compile Android code yet)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions