44thAvantar Posted November 7, 2021 Posted November 7, 2021 Hi guys, I've tried searching the forums but even though similar problems appeared the solutions didn't work. My problem is that I have a lot of different controls for my simulators. Like a lot (3x MFDs, 3 joysticks, 3 throttles, a yoke, pedals...) When I check the devices.txt file for IL2 it detects only couple of them, seemingly in random order. If the device is not detected - I cannot assign it to my plane in Il2. I tried removing excess hardware so that finally the device in question appears (in my case its Thrustmaster TPR rudders) but as soon as I add the remaining stuff they dissapear again and cannot be assigned. I have only 8 entries (0...7) in the devices.txt file while there should be like 12 or 13. Other games do not have this problem Any help?
Chief_Mouser Posted November 7, 2021 Posted November 7, 2021 Maximum number of peripherals the game allows would be appear to be eight. There are some ideas in this thread:
44thAvantar Posted November 7, 2021 Author Posted November 7, 2021 (edited) Thanks #216th_Cat, that gave me an idea. I removed (with drivers, not just uplugged) some hardware - MFDs, one joystick - and thus when I added them again they fell outside the magic number 8 - now I can see the TPR properly in Il2 sim. Too bad devs didn't code this properly - Windows for long long time is not limited by 8 HID devices Edited November 7, 2021 by 44thAvantar typo
abe_beson Posted November 8, 2021 Posted November 8, 2021 (edited) Hi 44thAvantar, I can confirm that IL2 sturmovik can not handle more than 8 controllers and these controllers can not have more than 64 buttons each (including hats). unfortunately the key mapper seems to be allowing a modern windows controller setup but the actual simulator does not. This was really confusing to me before I understood what was happening. The controllers worked just fine in the key mapper but not at all in flight. The game gave no warnings, no error logs, just dead controllers in flight. This is a map for 4 controllers each having 4 temporary modes, so the map has a huge button capacity. Maybe you can get inspired by it: https://github.com/abe71/abe71-IL2-BoS-CH-FSPTPPTQ-VR The trick that might help you is to use HidHide from which you can control which joysticks will be seen by your games, see https://github.com/ViGEm/HidHide Maybe you also can make use of Joystick Gremlin and vJoy to battle the 8 controllers, 64 buttons limit. Edited November 9, 2021 by abe_beson
1CGS LukeFF Posted November 8, 2021 1CGS Posted November 8, 2021 4 hours ago, abe_beson said: I can confirm that IL2 sturmovik can not handle more than 8 controllers and these controllers can not have more than 32 buttons each. Perhaps the first part of that is correct, but the game can definitely handle controllers with more than 32 buttons. My throttle unit from @GVL224 has around 40 buttons, all of which are directly mapped inside the game.
dburne Posted November 8, 2021 Posted November 8, 2021 3 hours ago, LukeFF said: Perhaps the first part of that is correct, but the game can definitely handle controllers with more than 32 buttons. My throttle unit from @GVL224 has around 40 buttons, all of which are directly mapped inside the game. IL-2 can handle button numbers up to 64.
abe_beson Posted November 9, 2021 Posted November 9, 2021 I had a map with 64 buttons and 4 hats in vJoy, no joystick was usable in flight. I reduced to 32 buttons and 2 hats and now it worked. That is a total of 48 buttons. Having 64 buttons and 4 hats totals 96 buttons which did not work, so you are probably right. I will change the readme in my repo, thx for the correction!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now