Skip to content
View in the app

A better way to browse. Learn more.

Flirc Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Can Flirc send Android Keycode via USB to Android STB?

Featured Replies

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

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.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.