USB Devices

Discussions on supporting software, helpful tools, and other software aids related to BMS life.
Post Reply
MailMan
Posts: 298
Joined: Wed Feb 20, 2019 9:39 pm
Location: Tampa, Florida

USB Devices

Post by MailMan » Thu Jan 27, 2022 4:00 pm

Someone recently mentioned something about BMS only allowing 8 USB Devices. I already have 9 in my devicesorting.txt list, and they all work. Can someone verify this information to be accurate or not? Or at least let me know if there are any limitations.

STAC
Posts: 63
Joined: Thu Jan 28, 2021 2:25 pm

Flight Activity

Certifications

Re: USB Devices

Post by STAC » Thu Jan 27, 2022 4:08 pm

Not sure about limitations, but I can tell you I am running 9 as well, 10 if you include Track IR.

Stac

MailMan
Posts: 298
Joined: Wed Feb 20, 2019 9:39 pm
Location: Tampa, Florida

Re: USB Devices

Post by MailMan » Thu Jan 27, 2022 4:13 pm

Oh yeah, forgot about TracIR. That makes ten for me too. The reason I asked is all the TEK Creations stuff is USB Plug and Play and they show up in the BMS device list. So, if I was to get what he has for the left and right sides, everything aft of the engine instruments and the misc panel, that would add at least five more USB devices. I would hate to order them and find out I can't use them.

User avatar
Ghastly
Posts: 130
Joined: Tue May 12, 2020 4:44 am
Location: (Zulu-05:00) Eastern Time

Flight Activity

Certifications

Mission Participation

Re: USB Devices

Post by Ghastly » Thu Jan 27, 2022 4:21 pm

If you use more than 8, you need to change your shift value in falcon bms.cfg from 256 to 512.

User avatar
Badger
Posts: 309
Joined: Wed Apr 18, 2018 8:50 pm

Flight Activity

Re: USB Devices

Post by Badger » Thu Jan 27, 2022 7:53 pm

IIRC, current limit is 16.
I believe it is listed in the tech manual.
Image

MailMan
Posts: 298
Joined: Wed Feb 20, 2019 9:39 pm
Location: Tampa, Florida

Re: USB Devices

Post by MailMan » Thu Jan 27, 2022 8:18 pm

Yup, I actually found it. BMS-Technical-Manual.pdf sec 10.6.5 says “16”

MailMan
Posts: 298
Joined: Wed Feb 20, 2019 9:39 pm
Location: Tampa, Florida

Re: USB Devices

Post by MailMan » Thu Jan 27, 2022 8:23 pm

So, after figuring all this out, I am assuming we can use a total of 800 or 801(counting 0) DX button assignments. Make sense?

User avatar
Zeus
222nd C/O
Posts: 1535
Joined: Sat Mar 31, 2018 7:08 pm
Location: Wisconsin, USA
Contact:

Flight Activity

Certifications

Mission Participation

Re: USB Devices

Post by Zeus » Fri Jan 28, 2022 2:50 am

Not sure how you came up with 800.. 16 USB "joystick" devices at 32 buttons each would be 512 (hence the need to change the shift value from 256 to 512) and then of course the shifted value of each if you want that would be 1024. Well, technically 1023 since one of the buttons has to be the shift button. And of course each of those 16 devices could have up to 6 axis as well.

I currently have 5 Bodnar 80386X boards, a ButtonBox, Redneck ICP, two MFDs, Cougar, and Saitek rudder pedals - so that's 11 "joystick" devices. Gripes me that one device is taken up by rudder which only has axis and no buttons. Ideal configuration would be to rewire rudder pedals into one of the existing Bodnar boards.

The TrackIR doesn't count as a joystick. Nor does your keyboard or mouse.
Win 11 Pro 64 bit | i9-12900 @ 5.6GHz | Noctua CPU cooler |Trident Z Series 32 GB 5600 DDR5 ram |
NVidia 1080 gtx| 1x49" Curved plus 1x22" for gauge extractions | Cougar w/ FSSB| Cougar MFDs | Saitek rudders | Home Cockpit

MailMan
Posts: 298
Joined: Wed Feb 20, 2019 9:39 pm
Location: Tampa, Florida

Re: USB Devices

Post by MailMan » Fri Jan 28, 2022 12:35 pm

What I have found out is when you program the shifted state of the Cougar, the button assignments start at 256 (pinky shift magnitude at 256), it doesn't end at 256. Same if you have the pinky shift magnitude set to 512. It starts at 512. Don't know why, but that is the way it's working on mine. 512 - 256 = 256. 512 + 256 = 768. LOL OK not 800, I was just rounding up :) When I get the chance, I will post my key file so you can see.

User avatar
Zeus
222nd C/O
Posts: 1535
Joined: Sat Mar 31, 2018 7:08 pm
Location: Wisconsin, USA
Contact:

Flight Activity

Certifications

Mission Participation

Re: USB Devices

Post by Zeus » Sat Jan 29, 2022 12:46 am

MailMan wrote:
Fri Jan 28, 2022 12:35 pm
What I have found out is when you program the shifted state of the Cougar, the button assignments start at 256 (pinky shift magnitude at 256), it doesn't end at 256. Same if you have the pinky shift magnitude set to 512. It starts at 512. Don't know why, but that is the way it's working on mine.
So if I follow you this is exactly correct and expected behavior. You define the pinky shift value in the BMS config file (256 or 512) and therefore any shifted buttons will start at that point accordingly.
MailMan wrote:
Fri Jan 28, 2022 12:35 pm
512 - 256 = 256. 512 + 256 = 768. LOL OK not 800, I was just rounding up :) When I get the chance, I will post my key file so you can see.
That's the part I don't understand and think you are getting caught up on. Why are you subtracting 256? Or adding it? BMS either lets you have 256 buttons (plus their shifted counterparts - 256*2=512 total) or 512 buttons plus their shifted counterparts (512*2 = 1024). Yes, technically you can choose values other than 256 or 512 (with 512 being the max) but whatever that value is that's the number of Windows joystick buttons BMS will recognize plus their shifted counterpart (so essentially double that number).

The pinky shift value is determined by you and should be the # of joystick devices (or as Windows calls the Game Controllers) * 32 (# of buttons on a standard Windows Joystick). BMS defaults to 256 which comes out to 8 game controllers but as we have seen, you can add more but then you have to adjust the pinky shift value so that BMS doesn't think that button 10 on the 9th device is the shifted button 10 on the 1st device.

Bottom line - the max number of DX type buttons BMS will recognize is 1024 (technically 1023 because you can't shift the shift button) not 800 or 768.
Win 11 Pro 64 bit | i9-12900 @ 5.6GHz | Noctua CPU cooler |Trident Z Series 32 GB 5600 DDR5 ram |
NVidia 1080 gtx| 1x49" Curved plus 1x22" for gauge extractions | Cougar w/ FSSB| Cougar MFDs | Saitek rudders | Home Cockpit

MailMan
Posts: 298
Joined: Wed Feb 20, 2019 9:39 pm
Location: Tampa, Florida

Re: USB Devices

Post by MailMan » Sat Jan 29, 2022 12:07 pm

Yes, I was referring to what I was actually using and not the available max. Sorry for not explaining this better. I have been working on this for so long, I have confused myself over and over. Think I will resort to golf. :mrgreen:

Post Reply