Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik

IL-2 Sturmovik The famous combat flight simulator.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2011, 12:28 PM
Artist's Avatar
Artist Artist is offline
Approved Member
 
Join Date: Jan 2010
Posts: 362
Default My Il-2 does not detect Leo Bodnar's BU0836A

Edit: Solved. IL-2 does detects BU0836As, see post #6

Hi All,

is there anybody using a BU0836A (not BU0836 and not BU0836X) from Leo Bodnar? The reason I ask: My Il-2 (4.10 or 4.09 with *unmentionable here, starts with 'U'*) under Win7 (32, Prof) doesn't recognize my BU0836A (neither buttons nor axes).

- The Joy-ID of the BU0836A is 3 (1=G940 Stick, 2=G940 Throttle)
- Windows does recognize the BU0836A
- My hombrew software which I use to feed the BU0836A via Devicelink to Il-2 works perfectly...

Anybody using a BU0836A directly?
oj

Last edited by Artist; 01-10-2011 at 08:28 PM. Reason: Solution in post 6
Reply With Quote
  #2  
Old 01-10-2011, 12:51 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

If i remember correctly IL-2 supports only three id's and your G940 uses 3 id's, one for Joystick, one for Throttle and one for the Pedals. So IL-2 can not use your additional controller. For Test unplug your G940 and try to assign controls in IL-2 to your Bodnar controller.
Reply With Quote
  #3  
Old 01-10-2011, 01:26 PM
bolox bolox is offline
Approved Member
 
Join Date: May 2008
Posts: 351
Default

fb has always supported 4 joystick type devices- currently running 4 (including 2 bu0836's but not A's so sorry can't help op)

the unplug other devices to test is an idea as might be trying via another usb port.
the bu is plugged directly into a computer usb port?- not via a usb hub?
Reply With Quote
  #4  
Old 01-10-2011, 01:27 PM
Artist's Avatar
Artist Artist is offline
Approved Member
 
Join Date: Jan 2010
Posts: 362
Default

Quote:
Originally Posted by FG28_Kodiak View Post
If i remember correctly IL-2 supports only three id's and your G940 uses 3 id's, one for Joystick, one for Throttle and one for the Pedals. So IL-2 can not use your additional controller. For Test unplug your G940 and try to assign controls in IL-2 to your Bodnar controller.
No, no, Kodiak, I wrote:
Quote:
- The Joy-ID of the BU0836A is 3 (1=G940 Stick, 2=G940 Throttle)
The G940-Pedals already go via the BU0836A (Reversal Bug Fix)

I've done all those tests before I started this thread
Reply With Quote
  #5  
Old 01-10-2011, 01:30 PM
Artist's Avatar
Artist Artist is offline
Approved Member
 
Join Date: Jan 2010
Posts: 362
Default

Quote:
Originally Posted by bolox View Post
fb has always supported 4 joystick type devices- currently running 4 (including 2 bu0836's but not A's so sorry can't help op)
Thanks anyway!

Quote:
Originally Posted by bolox View Post
the unplug other devices to test is an idea as might be trying via another usb port.
the bu is plugged directly into a computer usb port?- not via a usb hub?
No, no hub. But I will try one BU0836A all by itself in different usb ports - and then report here.
Reply With Quote
  #6  
Old 01-10-2011, 08:26 PM
Artist's Avatar
Artist Artist is offline
Approved Member
 
Join Date: Jan 2010
Posts: 362
Default

Quote:
Originally Posted by oj123 View Post
Quote:
the unplug other devices to test is an idea as might be trying via another usb port.
[...] But I will try one BU0836A all by itself in different usb ports - and then report here.
Well, , the problem is *not* about IL-2 ignoring a BU0836A, but all about me having two of them. And not even that exactly, but having them at the IDs 3 and 4... But let me explain:
- Connecting two BU0836A all by themselves, Il-2 will accept both (reporting them, in my case, with ID3 and ID4)
- After additionally connecting a G940 without the Pedals(!), Il2-2 will report the stick with no ID (implicitly ID1) and the throttle with ID2, and one BU0836A with ID4, but will completly ignore the BU0836A at ID3...

I can only guess at the reasons:
- The JoyIDs Utility has a similiar phenomena: You cannot swap ID's between the two BU0836A. You have to swap the one BU0836A with, say, the G940 stick, then the second with the stick, and lastly the first with the stick again...
- Another strange thing: The IDs set with this JoyIDs Utility show perfectly in my own software (using Win32 Api): If I change the ID of the G940 throttle to 5, I can access the throttle using ID 5 - but in Il-2 the throttle perpetually keeps ID2, the stick ID1 and the BU0836As (ID3) and ID4. I am still researching where IL-2 gets its IDs from. Thei show in Users/.../settings.ini as 'JoystickDevice0', 'JoystickDevice1, etc., but have no relation to what JoyIDs and Win32 API set/use/show...

I do not really know what I am confronted with here, but as I feed almost everything via Devicelink and Autohotkey to Il-2, the problem is not really pressing... If I find out new things (playing around with DirectInput), I'll report here.

Thanks to everybody for the suggestions

oj
__________________
Ceterum censeo the mixture axis should be supported in IL-2 1946' DeviceLink.

-------------------------------------------------------------
Reply With Quote
  #7  
Old 01-10-2011, 10:31 PM
bolox bolox is offline
Approved Member
 
Join Date: May 2008
Posts: 351
Default

very weird

what strikes me as odd is the way il2 is reporting id's. on my rig simpeds take id1, beta innovations plasmalite takes id2 and 2 bu0836 take up id's 3 and 4- this is the same order reported by windoze game controllers.
this ordering occurs on both my old rig(xp) and new(win7).

as il2 can only accept direct button inputs upto #32 i'm guessing it uses an 'older' (dx8??) input routine which might be a reason you can get different id's with a WIN32 Api???
Reply With Quote
  #8  
Old 01-11-2011, 12:01 AM
Sokol1's Avatar
Sokol1 Sokol1 is offline
Approved Member
 
Join Date: Oct 2007
Posts: 727
Default

As far I remember in IL-2 history, they don't accept joystick ID changes. No solution for this...
So guys have to use IL-2 Joy Control to tweak axis of joys that in some cases is recognize as ID1 or 2 (ie X-52 with CH pedal, that assume ID0), and due this is not show in IL-2 GUI.

I think that your problem is G-940 Flight System:

To overcome DirectX 8 axis limitation, G940 firmware report to windows 3 different devices: joy, throttle, pedal.

G940 pedal is "brainless" - don't have any internal circuit, only wires and pots.
Due this lack of "brain" you can easy hook into Bu0836A without major modifications.

But the internal USB circuit of G940 continue reporting to Windows the Pedal since the firmware still same and these assume ID3. I think that you cannot see Pedal in Control Panel due lack of wired pots (like BU0836 that don't show axis that don't have hooked pots)...

So your second BU0836A assume ID5 and is ignored by IL2. Test in another game that support more than 4 controllers. List here: http://simhq.com/forum/ubbthreads.ph...ml#Post3139352

Anyway, just my 0,02$.

Quote:
as il2 can only accept direct button inputs upto #32
32 buttons is Direct X limitation too, possible to overcome whit key mappers.

Sokol1

Last edited by Sokol1; 01-11-2011 at 02:28 AM.
Reply With Quote
  #9  
Old 01-11-2011, 12:13 PM
Artist's Avatar
Artist Artist is offline
Approved Member
 
Join Date: Jan 2010
Posts: 362
Default

Hi Sokol1,

your 2 cents saved my day:

Quote:
Originally Posted by Sokol1 View Post
I think that your problem is G-940 Flight System [...] But the internal USB circuit of G940 continue reporting to Windows the Pedal since the firmware still same and these assume ID3. I think that you cannot see Pedal in Control Panel due lack of wired pots (like BU0836 that don't show axis that don't have hooked pots)...

So your second BU0836A assume ID5 and is ignored by IL2.
How obvious! In German this is expressed with "To have a board in front of your head" or "To have tomatoes on your eyes". I must have been completely blind, in a kind of tunnel vision...

Well: Now how to get those pedals to ID5? Especially, when
Quote:
Originally Posted by Sokol1 View Post
As far I remember in IL-2 history, they don't accept joystick ID changes. No solution for this...
This is something amazing: How does IL-2 get those IDs in the first place? And where does it store the relation ID/gamecontrol it then refuses to change? A wide field for research and experiments...

Quote:
Originally Posted by Sokol1 View Post
32 buttons is Direct X limitation too, possible to overcome whit key mappers.
On a per device (joystick) basis it is obvious: The button pressed/nonpressed information is stored in a DWORD of the JOYINFOEX-structure, and a DWORD has 32 bits... I do not think that 32 is the absolute maximum sum of all gamecontrollers connected - correct me if I am wrong: I am approaching 32 buttons , but have not reached it yet

Artist
__________________
Ceterum censeo the mixture axis should be supported in IL-2 1946' DeviceLink.

-------------------------------------------------------------

Last edited by Artist; 01-11-2011 at 12:15 PM.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:37 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.