If you have a code already set up and I could just input my own button presses, that would be amazing.
not far at all. Every time I try it, I just get a huge list of error codes, I am using the Simple.cs file that came with the program 3.01 and am just at a stand still.
I was having trouble finding your question, people have been asking me questions using the ticket sytem mostly. I just moved so I don't have access to answer it directly right now. But you swould need to store the current state of the shifter and compare in the loop to the previous version to see when to send a button press. I think I might even have a bool already set up to say when the shifter has changed. How far have you gotten with this?
So, this might not get answered but I'll try. I am looking to assign button presses to the gearlever. For example: Gear state 1 presses f2 and so on. How would you do this? I have scoured the internet looking for the answer but when I try to implement it, it just doesn't work. I don't know any code and I doesn't seem that complicated for someone who know how to. Please, it would be awesome to be able to set my throttle in Elite with the gear lever!
I commend your efforts in creating an example for this. I do however want to point out that the source code is freely available on this site. Here is a link to the project's source code: https://sourceforge.net/p/steel-batallion-64/code/HEAD/tree/trunk/%20steel-batallion-64/Steel_Batallion_64_v2/
I figured it out I basically hard code a deadzone into the pov and it works like a charm now.
I will post my code to the ticket 23
I figured it out, try adding deadzones into the code to fix the sensitivity Here's what I did for the POV int thumbstickDeadZone = 150; uint Neutral = 36500; if (((Math.Abs(controller.SightChangeX) > thumbstickDeadZone) || (Math.Abs(controller.SightChangeY) > thumbstickDeadZone))) { joystick.setContPov(1,getDegrees(controller.SightChangeX,controller.SightChangeY),1); } else { joystick.setContPov(1,Neutral,1); }
If you open the exe with visual basic and use ILSpy you can get the source code of the program. Been messing around with it with not much success sadly. Its almost impossible to debug.
You can get the source code by opening the exe with visual basic and use ILSpy, there you can see the scale. Been trying to fix it myself with no good results, its almost impossible to debug. One thing though, if the get degrees is above 36000 then it goes to neutral.
So if you look at the raw data, it looks to be off and messing with the 360 axis, also keeping this in mind. I would suggest record the values of each quadrant using the raw data values in usb calibration. then have the program give out a specific hotas output (East = 9000) when the raw data reaches this value.
POV Hat calibration
Stick Sensitivity Unplayable (Windows 10)
Please forgive my ignorace, but is there a guide for how one would go about doing that?
It's the default in Windows, as windows only recognizes like 8 axes and buttons. You have to modify the simple.cs file or create another one to set up the mapping you need. On Fri, Oct 2, 2020 at 9:05 AM Eric A Hendrix eahendrix@users.sourceforge.net wrote: I am in the same position, did you ever find a solution to this? [tickets:#21] Confused about using on Windows 10 Status: New Created: Thu Jul 23, 2020 01:29 AM UTC by Cassie Last Updated: Sat Sep 05, 2020 04:25 AM UTC Owner: nobody Hi, I'm very...
I am in the same position, did you ever find a solution to this?
update: i have it running but it only reconizes the sticks the pedals and 8 buttons.
hi im also having trouble with the new v3.1 . Once i try to run the Steel_Batallion_64_v2. after instaling the sbc installer-33.0.1.exe it opens fine but then you hit start and it gives me an error. ive attached the error for your convience.
Thanks for the reply and the work! I'll definitely give it a shot. (I'm using a separate yoke indeed)
It worked, test the MWO_test.cs I attached above on July 2nd. However I wouldn't recommend this controller for Flight Simulator 2020. It's just not very precise. A good force feedback stick would probably be better or a yoke.
Hey, just wondering if it ended up working with win10. Im gearing up for fs2020 and really hoping to dust off those controllers. Thanks for the work of putting this together btw.
Did you download the latest, v3.1 and click on the SBC_installer_v3.0.1.exe? That should take care of installing things for you.
Confused about using on Windows 10
Wow, thanks man you dodn't have to do that whilst on vacation. That's why I shut up and was leaving you to it till you got back. Again thanks you though, thats really good of you to take a look anyway, ill try it out later when i'm back from work. As for the user error, I was refering to me, I was the error. I've got no meds for my ADHD atm so everything turns into a pickle quite quickly for me for the time being :P BUT i have after nearly a week of swearing and crying got SBC64 running, go me! Thanks...
I copied the code you had above and found the problem. It may have been referencing an earlier version of the program or it may have been a problem there all along, but there were several spots where the person was trying to get the state of a button and was not properly casting. If fixed those. I don't have mw5.cs, but I'm attaching a fixed version of the code you attached above. I tried fixing the indentation, as it was very hard to read and some of the code didn't seem to make that much sense....
I'm on vacation, but I doubt I do I'll have to check when I get back, what was your user error? On Tue, Jun 30, 2020, 12:51 PM Mitch Hudson m11tche@users.sourceforge.net wrote: Then you wont hear from me again I swear? [tickets:#20] Win10? Direct X problems Status: New Created: Wed Jun 24, 2020 07:37 AM UTC by Mitch Hudson Last Updated: Tue Jun 30, 2020 04:51 PM UTC Owner: nobody Hello, does this and if not what can I use to get this twork with Win10? Sent from sourceforge.net because you indicated...
Then you wont hear from me again I swear?
FYI I have it all working now, massive user error on my part. Sorry to trouble you! :P I dont suppose you have a working link for a mwo/mw5 sc. script do you?
Awesome I will give that a go when I get a chance later, thanks for your help so far though. If you have a PayPal I'd like to buy you a beer!
I'll have to try it later when I have access to my computer, but my guess would be that you might need to include Microsoft.DirectX; at the top. using System; using Microsoft.DirectX; using Microsoft.DirectX.DirectInput; This is just a guess based on the error. On Wed, Jun 24, 2020 at 2:05 PM Mitch Hudson m11tche@users.sourceforge.net wrote: Cool, yes the simple .cs file does work, but when I use the below .cs file i copied and pasted into notpad++ off of https://forums.frontier.co.uk/threads/anyone-else-tried-using-a-steel-battalion-controller.79087/page-2...
Cool, yes the simple .cs file does work, but when I use the below .cs file i copied and pasted into notpad++ off of https://forums.frontier.co.uk/threads/anyone-else-tried-using-a-steel-battalion-controller.79087/page-2 I get this error- c:\Users\fyrwo\AppData\Local\Temp\2xsynd0u.0.cs(2,17) : error CS0234: The type or namespace name 'DirectX' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?) using System; using Microsoft.DirectX.DirectInput; namespace SBC{ public...
Does the original simple.cs file work. Are you selecting the file through the menu? I'll have to carve out a bit of time later to try it as I haven't run it in years. On Wed, Jun 24, 2020 at 11:59 AM Mitch Hudson m11tche@users.sourceforge.net wrote: Hey thanks for getting back tome, I appreciate it! So Basically yes I extact the folder to my desktop, run the install from there as well as copy and paste (in notepad++) a CS file into the same folder that the original simple.cs file is. [tickets:#20]...
FYI this come up when i use another cs file- c:\Users\fyrwo\AppData\Local\Temp\vjg41gsf.0.cs(2,17) : error CS0234: The type or namespace name 'DirectX' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)
Right I figured out the c.s file I got (made for Elite Dangerous) made by CrackMouse, that you helped with isn't working. Or I am not saving it properly in a cs file but yeah your progrm is working fine now. Whilst I have you, do you know oif a good recourse to learn how to make my own button config file? If not no worries and thanks for your help regardless!
Hey thanks for getting back tome, I appreciate it! So Basically yes I extact the folder to my desktop, run the install from there as well as copy and paste (in notepad++) a CS file into the same folder that the original simple.cs file is.
I haven't messed with this in years, however my first question would be does the change.cs file exist where the program thinks it's located. Based on your debug statement: C:\Users\fyrwo\Desktop\SBC_v3.0.1\change.cs
I think i am not extracting/installing it to the right location...
Hi again, gettin g Unhandled Exception Error when i start up the emulator. Details below- sorry I am a bit rubbish this kind of thing. Have been struggling with it for day now trying to get something to work. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ** Exception Text ** System.IO.FileNotFoundException: Could not find file 'C:\Users\fyrwo\Desktop\SBC_v3.0.1\change.cs'. File name: 'C:\Users\fyrwo\Desktop\SBC_v3.0.1\change.cs' at System.IO.__Error.WinIOError(Int32...
Win10? Direct X problems
ignoring
unversioning some stuff that shouldn't be necessary
Added code necessary to allow program to emulate a x360 controller.
Can anyone help me out with a few questions? 1. Is there any way to illuminate all of the lights at all times? I see where to set the brightness on button-press, but I'd like to have them all lit (dim) when not in use. 2. Is there any way to animate the lights, or have any control over them? I'd like to be able to have them react to things like shift-states, or just add generic 'animations' to make things look more interesting. 3. Where can I find more example .cs files? I'm learning all I can by...
Update vJoy
Calibration Off
I'm glad things worked out for you. I got caught up in some home issues I had to...
I wouldn't mind it so much, but I want to use the controller for a game that doesn't...
I wouldn't mind it so much, but I want to use the controller for a game that doesn't...
1% isn't bad for a controller that old. There's ways we can create a deadzone around...
Calibration Off
The wiki is reporting a 403
Source code?
I meant to get on earlier, but i couldn't remember my SF username. The code is readily...
Source code?
Please try again, I linked the home page to redirect to the installation page, otherwise...
The wiki is reporting a 403
Steel battalion controller monitor only recognized 8 buttons
Windows won't detect controller anymore
Glad you were able to figure it out. It really did seem like an electrical issue...
I was tinkering around with the controller today, and I finally found the problem....
First, thanks for the response. Honestly didn't expect a reply so quickly. As for...
Will the light on the tunerdial come on? Just want to make sure it's not electrical....
Windows won't detect controller anymore
Hah! What an anti climax No Man's Sky was huh ? I'll give those other ones a try....
dial dont work... gear level dont work.. invert pedals with -1* dont work...
my dial and gear level dont work.. simple dont appear on calibration settings..
ANYBODY SBC .cs FOR STAR CITIZEN ?
guys.. anybody hel here? i run SBC on star citizen too.. but my .cs file ( simples.cs...
works with 39 buttons and 3 pedals. only gear lever and and dial dont work. just...
first off all.. no mans sky is a piece of shit. rs.. play star citizen or elite dangerous......
Windows does not pickup controller as unknown device
1) The Steel Battalion Controller does not have inbedded drivers so anything other...
Configuration
Ty in advance
Steel battalion controller monitor only recognized 8 buttons
Seriously looking forward to giving it a go! Will report back on 29/1/16 to see what...
recommiting file without merging errors
Added code showing how to use tunerdial.
Middle Terminal, Left Toggles, and Right Terminal buttons not Assigning
Newest version of SBC 3.0.1 incoporates the new version of vJoy into the installer,...
I think I've done something terrible in a past life...
I think I've done something terrible in a past life...
On fourth flash of controller lights, program crashes
BackSpace not working
BackSpace not working
Just added a new fix to this in version 3.0.1
uploading all changes made to project that were...
testing to see if I can commit
Hi there, thanks for replying! I managed to get most of the buttons to work with...
BackSpace not working
I have actually been able to replicate this and am working on it.
Middle Terminal, Left Toggles, and Right Terminal buttons not Assigning
I had halted most development to the program, and I was going back through tickets....
Generic Profile