Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

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.

AAO generic HID Device Bridge App

Featured Replies

  • Commercial Member

Hello @ll,

I’ve just uploaded another (free) Bridge app to the AxisAndOhs Weebly website (bottom of the Downloads page)

This bridge is for generic HID devices. So if you have exotic hardware (GoFlight and the likes), where the actual communications protocol is unknown, but that Windows picks up as HID devices, you can try them with the Bridge to see if button presses can be read and transmitted to the AAO WebAPI.

This is currently strictly for incoming events, there is no option to write data back to the device (= displays and LEDs will stay dark).

Please make sure to read the included PDF before starting.

Edited by Lorby_SI

LORBY-SI

  • Author
  • Commercial Member

To add: the HID Bridge version 1.04 can send data back to the HID device too. If that works or not depends on the hardware, if it can be controlled with the Windows standard HID device methods or not.

51476891590_5236d906b9_c.jpg

51476891615_881592059b_c.jpg

51476891635_48807a8795_c.jpg

 

LORBY-SI

On 9/14/2021 at 8:01 PM, Lorby_SI said:

Hello @ll,

I’ve just uploaded another (free) Bridge app to the AxisAndOhs Weebly website (bottom of the Downloads page)

This bridge is for generic HID devices. So if you have exotic hardware (GoFlight and the likes), where the actual communications protocol is unknown, but that Windows picks up as HID devices, you can try them with the Bridge to see if button presses can be read and transmitted to the AAO WebAPI.

This is currently strictly for incoming events, there is no option to write data back to the device (= displays and LEDs will stay dark).

Please make sure to read the included PDF before starting.

Does this work side-by-side with the VRInsight MCP Combo II Bridge?
Thanks.

YSSY. Win 10, [email protected], Corsair H115i Cooler, RTX 4070Ti, 32GB G.Skill Trident Z F4-3200, Samsung 960 EVO M.2 256GB, ASUS Maximus VIII Ranger, Corsair HX850i 850W, Thermaltake Core X31 Case, Samsung 4K 65" TV.

  • 1 year later...

Hello,

what does 'button' mean with respect to the HID device bridge? Is it just a bit in the input report of a generic HID device? Which HID Usage Page is appropriate for using the bridge?

Thanks for your answer,

Detlef

 

  • Author
  • Commercial Member
1 hour ago, dmahr said:

Is it just a bit in the input report of a generic HID device?

I suppose so, yes.

1 hour ago, dmahr said:

Which HID Usage Page is appropriate for using the bridge?

Sorry, no idea. I'm not really knowledgable about HID devices, the Bridge is just using an open source HID library in a generic way. My only frame of reference were the Saitek Panels... 

As it says on the AAO website, these additional Bridges, Plugins, Gauges etc. are just leisure/hobby projects of mine that I chose to share...

 

Edited by Lorby_SI

LORBY-SI

Thanks for the quick response. 

I will check it out. As I am building my own HID devices for the Sim, I am free to implement any kind of HID device.

Detlef

 

  • Author
  • Commercial Member
1 hour ago, dmahr said:

Thanks for the quick response. 

I will check it out. As I am building my own HID devices for the Sim, I am free to implement any kind of HID device.

Detlef

 

If something needs to change with the Bridge, just let me know. 

LORBY-SI

In fact, it works.

I built a simple generic HID device with 10 encoder inputs. The HID report sends 8 bytes, whenever an encoder event is recognized. Your Bridge sees the 8 bytes output as 64 consecutive bits. These bits contain the encoder number, the encoder event (up or down), the encoder turning speed (fast or slow) and a counter value. 

Now I have to translate this bit stream into some useful Sim events according to your HID Bridge manual. I am curious to see if it works.

Detlef

 

Edited by dmahr

  • Author
  • Commercial Member
44 minutes ago, dmahr said:

Now I have to translate this bit stream into some useful Sim events according to your HID Bridge manual.

If I remember this correctly, then the Bridge is sending Button Events to AAO via the WebAPI for every bit that you are masking out of the buffer, so just a binary action. Sounds like your device is more complex than that and the Bridge would have to be expanded accordingly.

If the button events are indeed received in AAO, you can do whatever you want with them, you have the full feature set of AxisAndOhs at your disposal. 

Edited by Lorby_SI

LORBY-SI

Hi,

here are my findings:

I can isolate 'buttons' from my report. A single bit triggers a single button. A bit-field triggers another button when matching a certain bit combination. Unfortunately I can not inject a certain value (a bit-field) into a variable depending on it's change.

When I use my generic HID device for incrementing/decrementing a trim operation (rudder trim, i.e.) there are delays in the reaction. Maybe this is due to the Web API. Reconfiguring my HID device as a joystick, I have smooth reaction. A good feature is to have a multiplier "Roll" especially for the trim wheels. There is also a "Fast" feature for fast rotations of an encoder. Best of all would be to have a combination of both: slow turns have a multiplier of 1, fast turns have a selectable multiplier. I use this feature with success when dialling OBS's or trim wheels. Until now I write my own little programs to attach joysticks and keyboards to the Sim. But with AAO I found an universal program dealing with most of my demands.

Currently I am building a device network based on CAN FD and a CAN-USB bridge to connect it to the PC. This is why I try to utilize your HID-Bridge program.

Detlef

 

  • Author
  • Commercial Member

The HID Bridge is clocked at 150ms. So worst case there can be a delay of 200 ms (or slower), depending on what you do in AAO.

If you want, write up the requirements that you have in as much detail as possible, and send that to the support email address, that you can find on the last page of the AAO manual. If it can be done with little effort, I will put it on the list for a future version of the Bridge.

LORBY-SI

Archived

This topic is now archived and is 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.