Jump to content
Flirc Forums

Can Flirc send Android Keycode via USB to Android STB?


Sato / VI

Recommended Posts

Hello Flirc support team,

 

Can Flirc send Android Keycode via USB to Android STB?

One method is using ADB.

 

What I want to do is,

I want to use extended Android Keycode which is not allocated standard Android.

I cant customize Android software of the STB.

 

My understanding is,

Flirc sends HID USB Keycode via USB, then Android firmware convert it to Android Keycode.

For example,

    Keyboard UpArrow

    Flirc sends HID USB Usage page 0x07 / ID 0x52

    Android firmware convert it to Android Keycode 0x13 (KEYCODE_DPAD_UP)

 

There are some extended Android Keycode with the STB, like 0x232C.

But there is no HID USB Keycode for that as standard.

So I want to send Android Keycode 0x232C directly.

 

Best Regards,

Susumu Sato

Link to comment
Share on other sites

Short answer: no.

As you've mentioned it yourself, Flirc uses USB HID, so something on the system needs to be able to support specific usage page and translate HID codes into some action.

To send Android Keycode directly, Flirc would need to implement whole ADB protocol to be able to speak to ADB on the device and execute shell commands on it.

Can you even use ADB on the device in USB host mode? Flirc is an USB device, so anything you plug it into needs to work as USB host.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...