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 02-24-2013, 12:05 PM
Jack_Aubrey Jack_Aubrey is offline
Approved Member
 
Join Date: Jan 2008
Posts: 41
Default

The thing is that i'd been really slow as i'm almost noob to programming, there was the trouble for the HID part, that i've already solved using LUFA.
But then recently i heard that Il2 only manage devices with 8 axis, 32 buttons and a hat, thus make all my work almost worthless (ok that's not completly true but it wont help either).

Now a little bit of info on my device, actually is a single joystick HID that has 6 axis and 56 buttons. Buttons are going to be 13 momentary, 26 are going to be "fixed position" so they only send button pushed when a change of state is sensed , and lastly but not easier there are 14 that would be from 7 rotary encoders. What i was aiming with all of this was to make my heavy pit so i could fly the Pe-8 (for an official example ).

The thing is that i try to think a little bit forward and i recently learn that 4.12 would have a axis for mix, so it would be an axis for every motor (that's my own thinking).... that give me 4 new axis and take out 12 fixed position (the one i would use for setting the mix through a 12 position switch)....

And yes i've already known that the il2 only sees 4 usb devices, and there's trouble again beacuse i own a G940 that already show up as a 3 devices to the il2
Reply With Quote
  #2  
Old 02-24-2013, 12:32 PM
MaxGunz MaxGunz is offline
Approved Member
 
Join Date: Apr 2011
Posts: 471
Default

You can make the thing HID as joystick, keyboard and mouse at the same time (at least with the Teensy). So you can move your extra buttons as keys and combo-keys and make your own head tracking too.

LUFA, now I know what Nick Gammon's sig is about!

I still like the Teensy's better. They are not limited to 115,200 baud since the USB is built right into the main chip. They get far higher data rates.
Reply With Quote
  #3  
Old 02-24-2013, 01:21 PM
DD_crash's Avatar
DD_crash DD_crash is offline
Approved Member
 
Join Date: Oct 2007
Location: Buckley North Wales
Posts: 307
Default

Quote:
Originally Posted by Jack_Aubrey View Post
And yes i've already known that the il2 only sees 4 usb devices, and there's trouble again beacuse i own a G940 that already show up as a 3 devices to the il2
Hello, I have modded the 940 throttle using a Leo Bodnar board. I have connected the hats, buttons and axis on the throttle plus the pedal axis directly to the Bodnar board so this shows as 1 input I have lost the ability to use the logi software so I plan to use joy2key.
__________________
<a href=http://forum.1cpublishing.eu/image.php?type=sigpic&userid=2954&dateline=1314366190 target=_blank>http://forum.1cpublishing.eu/image.php?type=sigpic&userid=2954&dateline=1314366  190 Salute Jim (Blairgowrie) http://dangerdogz.com
Reply With Quote
  #4  
Old 02-24-2013, 04:15 PM
Bolelas's Avatar
Bolelas Bolelas is offline
Approved Member
 
Join Date: Jan 2010
Location: Portugal, Sintra
Posts: 141
Default

Dont know if we are getting 4 axis for the mix, probably we get only one as we did for radiator. (of course i would love to see 4 axis for radiators and plus 4 axis for mixture).

Let´s wait for 4.12 to come out...
Reply With Quote
  #5  
Old 02-24-2013, 04:50 PM
Jack_Aubrey Jack_Aubrey is offline
Approved Member
 
Join Date: Jan 2008
Posts: 41
Default

Thanks for your replies, lets see ...
MaxGunz it's true that after fighting this hard with arduino i should have been more conservative and buy something like the teensy as it seem to be more focused on the device/controller stuff.

DD_crash.... that's some thing i'been thinking, but right now i will keep working with what i have right now... what i mean is that is just a future thing whenever i get enough money... also you still have one axis unused and a few buttons so you can use the empty handle or the base for a few extras...

Bolelas yeah thats right, we would only have one axis for mix but as you almost say dreaming is free
Reply With Quote
  #6  
Old 02-24-2013, 08:41 PM
Artist's Avatar
Artist Artist is offline
Approved Member
 
Join Date: Jan 2010
Posts: 362
Default

Concerning the limitation to 4 devices:
- use Autohotkey to map buttons of 5th, 6th, ... device to key-combinations (ctrl+...) and assign those inside il2
- use YaDeLi to map their axes to functions

Artist
Reply With Quote
  #7  
Old 02-26-2013, 03:23 PM
DD_crash's Avatar
DD_crash DD_crash is offline
Approved Member
 
Join Date: Oct 2007
Location: Buckley North Wales
Posts: 307
Default

The throttle is now back together and is working
The pcb that has the top hat and buttons. I used a hacksaw blade to cut through the printed circuits on both sides.


the round IDE cable I used for wires, and the button housing

Wires fed through levers

now complete with Bodnar board housed in the box on the back of the throttle

view from the other side showing feed from the pedals


now all that remains is to put my X52 handle on the MS Sidewinder
__________________
<a href=http://forum.1cpublishing.eu/image.php?type=sigpic&userid=2954&dateline=1314366190 target=_blank>http://forum.1cpublishing.eu/image.php?type=sigpic&userid=2954&dateline=1314366  190 Salute Jim (Blairgowrie) http://dangerdogz.com
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:53 PM.


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