Skip to content
View in the app

A better way to browse. Learn more.

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

Bluetooth multimedia controller

Featured Replies

I have this cheap bluetooth multimedia controller with 5 keys (play, prev, next, vol up, vol down). It's all connected and key presses are recognised:

 

[root] [~] # showkey
kb mode was UNICODE
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]

press any key (program terminates 10s after last keypress)...
keycode 164 press
keycode 164 release

How do I go from here? How do I make this 164 key press to run "mpc toggle" command?

 

It's an Orange Pi PC+ and Armbian 5.90. This is a console-only machine. No any X window system (most of the keybind solutions I've found were X related).

The easier way is probably to use "triggerhappy". 

 

But could you tell me what is your "cheap bluetooth multimedia controller" (if I wanted to buy one).

 

My personal experience is that keeping (classical) BT connection is too power hungry for batteries. So The device must disconnect after a few seconds. With devices such PS2 remote (if I force disconnection), the first press is lost and the (re)connection delay is longer than one second. Please tell me if you get better results.

  • Author

It's just like you said. The first press is lost and reconnection takes more than one second. But that I can live with.

Guest
This topic is now closed to further replies.

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.