Merf Posted August 29, 2015 Posted August 29, 2015 I've been trying to get the pilot head controls (turn horizontally and vertically) to map to an analogue axis (hat on g940 stick) and I am having some issues. The mapping works fine, but soon as I let it centre it returns to neutral. I want it configured so that it is a gradual increase to the view angle as long as I hold the stick off centre and when I release I want it to just stop moving in whatever rotation the head is currently in, not return to whatever view I had cliped before. Basically I want it to function as looking aruond with the mouse works, except I want to use the anaologue hat switch on my joystick instead of having to let fo of my controls and use the mouse. Any ideas? /Merf - Is fully aware a TrackIR/OpenTrack solution would be preferable.
Dakpilot Posted August 29, 2015 Posted August 29, 2015 (edited) See section 9 of the manual - cockpit camera adjustment section 'creating a snap view' I think you need to press F9 (change pilot head control method in settings) to cycle through to get the functionality you want, but better read the full description Cheers Dakpilot Edited August 29, 2015 by Dakpilot
Merf Posted August 29, 2015 Author Posted August 29, 2015 Yeah, thing is I have already cycled through the options when pressing F9. They don't seem to alther the behaviour at all frankly. I am not looking to create a snap view either really, I want to look around freely, not snapped. =/
Dakpilot Posted August 29, 2015 Posted August 29, 2015 Sorry that was no help, I understand you not wanting to create snapviews, the description of F9 is described in that section, On MSFFB 2 using F9 - centred snap - fixed snap - adaptive snap - pan view works fine to cycle through and give pan view with hatswitch, might be a silly suggestion but are you sure F-lock is not on? Cheers Dakpilot
Merf Posted August 29, 2015 Author Posted August 29, 2015 F-lock? Either way, been testing some more and it seems to work with button mappings. If I map pilot turn head to digital keys instead and set F9 toggle to pan view it works. If I try the same using an axis mapping it does not work and instead auto centres all the time. Rather annoying since it practically makes the analogue hat useless. =/
Dakpilot Posted August 29, 2015 Posted August 29, 2015 F-lock on key board, have inadvertently pressed it before and wondered for a long time why my F-keys are not working Cheers Dakpilot
G_GART Posted August 29, 2015 Posted August 29, 2015 Well, all key mapping are stored in 2 files called "current.actions" and "current.map" located in :\1C Game Studios\IL-2 Sturmovik Battle of Stalingrad\data\input folder, you can open thise files with notepad and edit manually and save your changes, but make a backup of these files before you change them. because when you open them you will read "IT IS NOT RECOMMENDED TO CHANGE ANYTHING HERE! " and "Well, it is still possible, but on your own risk." Remember that your changes must be implemented in both files.
Sokol1 Posted August 29, 2015 Posted August 29, 2015 (edited) I've been trying to get the pilot head controls (turn horizontally and vertically) to map to an analogue axis (hat on g940 stick) and I am having some issues. The mapping works fine, but soon as I let it centre it returns to neutral. I want it configured so that it is a gradual increase to the view angle as long as I hold the stick off centre and when I release I want it to just stop moving in whatever rotation the head is currently in, not return to whatever view I had cliped before. Basically I want it to function as looking aruond with the mouse works, except I want to use the anaologue hat switch on my joystick instead of having to let fo of my controls and use the mouse. Your issue is due the use of analog HAT - a mini-joystick (PS2 like), exclusivity of G-940 stick - for control the camera POV (pilot head). Due the springs in this mini-stick the cursor always return to center and so the POV for neutral. Instead use the digital (buttons) HAT available in G-940 (like in any other stick) for this function. Using the the G-940 soft (or 3rd part like Joy2Key, Xpadder - if this soft is bad like the Saitek one) map this mini-stick HAT to send key press and use this analog HAT for trim (for example), so the return to center don't bother. Edited August 29, 2015 by Sokol1
Merf Posted August 29, 2015 Author Posted August 29, 2015 Well, all key mapping are stored in 2 files called "current.actions" and "current.map" located in :\1C Game Studios\IL-2 Sturmovik Battle of Stalingrad\data\input folder, Awesome, was planning on hunting for those in order to backup controls eventually. This saves me some detective work. Thank you! Instead use the digital (buttons) HAT available in G-940 (like in any other stick) for this function. Yeah I noticed. Problem is, digital is not nearly as good. One of the few things that WT has appeared to do better, since they allow gradual view change using an axis. What would be needed is for the game to not read absolute position and set the view angle to that directly, but instead read how much off centre the axis is and for each frame add to the view angle pending on how far off centre the axis is. That way you would get the same function as with an additive digital input, but with the advantage of being able to influence how fast the view angle changes (Just like how your stick influences your aircraft attitude really). Using the the G-940 soft (or 3rd part like Joy2Key, Xpadder - if this soft is bad like the Saitek one) map this mini-stick HAT to send key press and use this analog HAT for trim (for example), so the return to center don't bother. Yeah, I might do this eventually to "salvage" the hat so to speak. I am typically not too fond of having mappings depending on external software, so we shall see what I end up doing. Thank you for the tip though!
-Roy-Cheesy-Chops Posted August 29, 2015 Posted August 29, 2015 Hi merf i recommend you use pan view and look around with your hat switch and i use the snap to cockpit view for f1 and center view in head movement assign both buttons for head center and snap to cockpit to the same button on your joystick that way you can look around and reset the views to center to see where your flying the zoom button is up to you thats what i do hasnt failed me yet..now im onto a track ball with left mouse button for center head and cockpit view with right mouse button move head right you may want to adjust the sensitivity of the camera speed and sensitivity of the hat switch to suit .right now ive left it the same incase i mess it up but ive been meaning to make the inertia less which means i think the gathered speed that the camera accelerates passing the view you also have the option to choose up to three set ups with the views so set up 1 set up 2 set 3 if you have more than one hat switch on your joystick you may want to try the zoom with another hat switch or button headtracking gets me dizzy youll be slow to look but im sticking with ground attack so that does me have a nice landing yours Tartan81
Vorondil Posted February 1, 2016 Posted February 1, 2016 I have the Logitech G940 as well, and as far as I can see, it's not directly possible with Logitech's control software or the in-game settings to do this with the ministick. Instead, I've (earlier this evening actually) used third-party software to do so. I'll elaborate on this solution if you're curious, or if anyone else out there has the same problem. =) 1. Go to http://joytokey.net/en/ and download the latest version of the software JoyToKey, and unzip on your computer. (It is a piece of rather unobtrusive shareware without any forced functional limitations, in case you're worried about such.) 2. Start JoyToKey.exe 3. (Optionally) Rename the initial profile to 'Disabled' and make no further changes to it. I do this just to have a way to disable JoyToKey without closing the program. Do whichever you prefer. 4. Go into Settings > Preferences... and ensure that the option "Disable emulation of key/mouse assignments" is unchecked. 5. Create a new profile, name it "IL-2 Stalingrad" or whatever you prefer, and click it to ensure that the profile entry is highlighted in blue. 6. Open the 'Options' tab. Set the option Show/Hide Buttons > Stick/POV to "Show all axes (8 way + POV x 4)". 7. On the 'Joystick 1' tab (assuming the G940 stick is the #1 game device on your system) there are many entries for axes and buttons. Those labeled Slider1 and Slider2 should belong to the ministick. For each of these four entries you must: a. Double click the entry to open the Assignment-window. b. Click the Mouse button up top. c. Set one of the two Cursor Movement sliders to a power of your preference. The four entries correspond to the ministick as below, with my settings for them. Slider1(<0) - Mouse: Up (80) = Ministick: Up. Slider1(>0) - Mouse: Down (80) = Ministick: Down. Slider2(<0) - Mouse: Left (80) = Ministick: Left. Slider2(>0) - Mouse: Right (80) = Ministick: Right. I felt that setting the movement speed to 80 was about right, and you can test the mouse emulation immediately after clicking OK for any of the entries, and you can experiment to find a speed setting which suits you. After this you don't need to do anything else. I myself use this software only for the purpose of mouse emulation, as I find Logitech's control software (with its three-mose-switch and shift-button support) plus in-game settings to fulfill my other needs. =)
ACG_pezman Posted February 1, 2016 Posted February 1, 2016 I don't know about Logitech software, but the TARGET software for Thrustmaster has an axis choice called "Persistence" that holds the axis input despite it going back to the neutral position. Maybe there is something similar for Logitech?
SharpeXB Posted February 1, 2016 Posted February 1, 2016 I have been able to use JoyToKey in the past (with Cliffs of Dover) to make my CH ministick emulate a mouse. This was for the variable zoom command so when I let go of the stick the FOV would remain. Something like that would probably work in this case.
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