

Thermal
Members-
Posts
256 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by Thermal
-
As a cheap joystick pot, this might fit a bit better than one of the large PS3 types: https://uk.rs-online.com/web/p/joystick-switches/1234587/
-
Thrustmaster Warthog Throttle issue
Thermal replied to pocketedition's topic in PC Hardware and Related Software
Have you tried another PC - even just to test? Here in AU, there are consumer laws which are very clear - retailers are absolutely responsible for warranty, although the consumer has the choice of taking it up with the manufacturer. If it was me, I'd grab my receipt/proof of sale, head to the retailer and demand a refund (or repair). Plug it into a PC they have there and see if it works, or not. A quick look over the NZ Consumer Laws suggest they are pretty well aligned with AU. -
You might be able to open up the throttle and remove the spring in question.
-
I've not dug into your script closely, but I had a more high level thought about what you want to achieve. You could try running: Its self-synchronizing with the aircraft, and it wont care what your starting state is.
-
Fixing bent Warthog grip pin - suggestions?
Thermal replied to Barefoot Bandit's topic in PC Hardware and Related Software
Get a fine pair of long nose pliers, place either side of the bend - close the pliers, careful not to move them laterally, over the pin, bending/squishing it straight. If you just grab the top of the pin and bend it around trying to straighten it, you will end up bending the ping around the base, fatiguing the pin (more). -
Small monitors for MFD export
Thermal replied to SierraFox's topic in PC Hardware and Related Software
My belief is that you'll then require the CPU to render the second screen, not your GPU. Which may impact performance of the system as a whole. Edit: I think the USB signaled monitor uses a software (CPU) based driver, whereas using a HDMI input monitor basically means your GPU has to render a few more pixels. -
Small monitors for MFD export
Thermal replied to SierraFox's topic in PC Hardware and Related Software
https://www.aliexpress.com/store/product/13-3inch-IPS-1920x1080-Capacitive-Touch-Screen-LCD-with-Toughened-Glass-Cover-Supports-Multi-mini-PCs/216233_32853858539.html?spm=2114.12010612.0.0.1e1320f0nJVCOa https://www.amazon.com/Portable-Touchscreen-9-8MM%EF%BC%8CCNC-Shell%EF%BC%8CVESA-Reserved/dp/B0792VXZW2/ref=sr_1_5?ie=UTF8&qid=1520395948&sr=8-5&keywords=portable+touchscreen https://www.amazon.com/Elecrow-1280x800-Resolution-Portable-Raspberry/dp/B073QPZZTN/ref=sr_1_20?ie=UTF8&qid=1520395992&sr=8-20&keywords=portable+touchscreen I cannot vouch for anyone of them. Try searching "portable monitor" on aliexpress will give you loads of choices. -
A few things to try for the line 11 error: 1) Add an actual value in D() 2) remove: include "WinKeyTest_Macro.ttm" 3) Put line 11 the other side of the if(Init(&Event line.... Edit: It looks like it works if you do (3). With (1), there is a default defined in target.tmh, so its not that.
-
-
Lol. After spending about an hour on this, and also wondering what was going on, HomeFries posts the solution. I got this far: [color=#1e90ff][b]include[/b][/color] [color=#a52a2a]"target.tmh"[/color] [color=#1e90ff][b]char[/b][/color] GS; [color=#32cd32]//we create a flag called GS (Gear State)[/color] [color=#32cd32]//program startup[/color] [color=#1e90ff][b]int[/b][/color] main() { [color=#1e90ff][b]if[/b][/color][color=#ffffff]([/color]Init(&EventHandle)) [color=#1e90ff][b]return[/b][/color] [color=#ffffff]1[/color]; [color=#32cd32]// declare the event handler, return on error[/color] GS[color=#ffffff]=[/color][color=#ffffff]0[/color]; [color=#32cd32]//set the GS value to 0 at startup of the configuration[/color] MapAxis(&Throttle, THR_FC, DX_SLIDER_AXIS); KeyAxis( &Throttle, THR_FC, [color=#ffffff]0[/color], AXMAP2( [color=#ffffff]3[/color], CHAIN[color=#ffffff]([/color]EXEC([color=#a52a2a]"GS=0;"[/color]),PULSE+[color=#a52a2a]'g'[/color]), [color=#ffffff]0[/color], CHAIN[color=#ffffff]([/color]EXEC([color=#a52a2a]"GS=1;"[/color]),PULSE+[color=#a52a2a]'G'[/color]) ) ); MapKey(&Joystick, TG1, EXEC( [color=#a52a2a]"if (GS) printf(\"I've just pressed TG1.. GS is %d \\xa\", GS); else printf(\"I've just pressed TG1.. GS is %d \\xa\", GS);"[/color] )); [color=#32cd32]//If GS true (=1) press “h” keystroke when S1 is pressed.[/color] } [color=#32cd32]//event handler[/color] [color=#1e90ff][b]int[/b][/color] EventHandle[color=#ffffff]([/color][color=#1e90ff][b]int[/b][/color] type, [color=#1e90ff][b]alias[/b][/color] o, [color=#1e90ff][b]int[/b][/color] x) { DefaultMapping(&o, x); [color=#32cd32]//add event handling code here[/color] } This proved that all the logic was working, as I was getting the message in the Output Window. Which, as HomeFries states, means there is a problem with the ActKey code. Perhaps a nicer way to toggle a flag: KeyAxis( &Throttle, THR_FC, [color=#ffffff]0[/color], AXMAP2( [color=#ffffff]3[/color], CHAIN[color=#ffffff]([/color]EXEC([color=#a52a2a]"GS = !GS;"[/color]),PULSE+[color=#a52a2a]'g'[/color]), // Toggle the "GS" flag [color=#ffffff]0[/color], CHAIN[color=#ffffff]([/color]EXEC([color=#a52a2a]"GS= !GS;"[/color]),PULSE+[color=#a52a2a]'g'[/color]) // Toggle the "GS" flag ) ); This works with either "char" or "int" as the flag type.
-
I got triple fan 1070 because it is noticeably quieter than the reference designs with two. I've yet to see less than 60fps with my i5-3570k + 1070 @ 3440x1440 with DCS 2.5. So run your freesync monitor @ 60Hz and turn on vsync and get happy :)
-
Is there a plan to add the ability to re-bind the controls/use a joystick in Tacview? I have one of these and would love to get it working: https://www.3dconnexion.eu/products/spacemouse/spacemousewireless.html It can emulate a directx game controller (and a mouse, and it has a native API), so any sort of joystick support would do :)
-
Forcing the view off-center
Thermal replied to Sephyrius's topic in PC Hardware and Related Software
Yes there is. You can set the default eyepoint per aircraft I believe, and each aircraft is different. https://forums.eagle.ru/showthread.php?t=61173 -
Target can do exactly what you want. Getting the terms straight, there are the original devices - the Thrustmaster Joystick and the Thrustmaster Throttle in the Windows Game Controller Config Panel --> C:\Windows\System32\joy.cpl When you run a Target Script, the "Thrustmaster Combined" is magically created. By default, the original devices are removed. Stopping the script destroys the "Thrustmaster Combined" device, and re-instates the original devices. However, there are some switches in Target to change that behavior. With Target you can Exclude a device (or more than one device) entirely: int main() { Configure(&Joystick,MODE_EXCLUDED); [color=SeaGreen][color=green]// ---> Joystick remains as game controller[/color][/color] [color=SeaGreen][color=green]// ---> Cannot configure Joystick from Target [/color][/color] [color=SeaGreen][color=green][color=green] // ---> Throttle removed as game controller // ---> "Thrustmaster Combined" created[/color] [/color] [/color][color=SeaGreen][color=Black] if(Init(&EventHandle)) return 1; // declare the event handler, return on error // Normal Map statements go here. [/color][/color] } You can also use the "filtered" mode to selectively drag the original Joystick/Throttle/T1600 buttons/axis into the Thrustmaster Combined Device. With even more magic in the event handler, you can exclude buttons from the original device(!), so they only appear in the Thrustmaster Combined device: int main() { Configure(&Joystick[color=#ffffff],[/color]MODE_FILTERED); [color=green] // ---> Joystick remains as game controller // ---> Throttle removed as game controller // ---> "Thrustmaster Combined" created[/color] [color=SeaGreen][color=Black] if(Init(&EventHandle)) return 1; // declare the event handler, return on error [/color][/color] // Note: The X Axis is [color=Red]commented out[/color] ---> No Mapping [color=#32cd32] [color=Black]// MapAxis(&Joystick, JOYX, DX_X_AXIS); [color=Green] // Thrustmaster Combined = No JoyX[/color][/color][/color][color=Green] axis // Joystick = JoyX active[/color] MapAxis(&Joystick, JOYY, DX_Y_AXIS); [color=Green] // Thrustmaster Combined = JoyY active // Joystick = JoyY active[/color] MapKey(&Joystick, TG1, 0[color=#ffffff]0[/color]); [color=green] // Thrustmaster Combined = Nil ---> no action // Joystick = DX1 (default mapping) [/color] } //event handler int EventHandle(int type, alias o, int x) { if(&o == &Joystick & !(o[s1]|o[s4]|o[s2])) GameOutput(&o, x, o[x]); [color=Green] // Thrustmaster Combined = S1+S3+S4 work by default // Joystick = S1+S3+S4 = Nil ---> no action[/color] DefaultMapping(&o, x); //add event handling code here }
-
I looked at this not that long ago. Every single ipad app for screen extending I've used requires about 25% CPU on the host PC to encode and stream the virtual 2nd monitor to the ipad. I came to the conclusion that a second touchscreen monitor was the way to go. I got this to try: https://www.aliexpress.com/store/product/Raspberry-Pi-10-1-inch-1024x600-Capacitive-Touch-Screen-LCD-Support-Multi-mini-PCs-Multi-Systems/216233_32624101071.html?spm=2114.12010612.0.0.40802956eRHkCM But there was a problem in that whenever you touched it the mouse cursor would immediately skip to that touch point - it looked like it was some sort of weird mouse emulation, rather than a true touch interface, from the description: When work as a computer monitor, supports Windows 10/8.1/8/7/XP, single touch, and driver free Now i believe (and guess) that this was what I really should have got: https://www.aliexpress.com/store/product/Waveshare-Newest-IPS-Display1280-800-10-1inch-Touch-Screen-LCD-with-Case-for-Multi-mini-PCs/216233_32679734462.html?spm=2114.12010612.0.0.40802956eRHkCM When work as a computer monitor, supports Windows 10/8.1/8/7, ten-points touch, and driver free My research indicated that Windows 10 with a proper multi-touch display will work how I want it to - but that is as far as I got.
-
Introducing the VKB-Sim ‘Modern Combat Grip’ (MCG)
Thermal replied to rrohde's topic in VKB-SIM Flight Gear
If you share stuff with us I promise no one else will find out :D It seems like VKB is being pretty straight forward with releasing info. Delays happen, redesigns happen, and its not like they are taking pre-orders and pushing and pushing delivery dates. -
Elgato Stream Deck as configurable button box
Thermal replied to Ranma13's topic in PC Hardware and Related Software
Totally understood. I've not looked at Javascript before, so why not start now :) FYI, dcs-stream-deck-ka50 was not installing because it could not find my GIT path. -
Elgato Stream Deck as configurable button box
Thermal replied to Ranma13's topic in PC Hardware and Related Software
I have never run Javascript before, so its a bit of a journey to get this up and running, you need the entire environment set up. 1. Install node.js https://nodejs.org/en/ 2. You need to install the build-scripts for node.js, including python. Open an admin powershell and run: npm install --global --production windows-build-tools(This took something like 5 minutes to complete) 3. Still in powershell, run: npm install --global node-gyp4. Open the node.js command prompt from the start menu (installed with node.js) and run: setx PYTHON "%USERPROFILE%\.windows-build-tools\python27\python.exe"Close the cmd prompt and run it again. Do "set PYTHON" to verify that its working. 5. In node.js command prompt, install the stream-deck-api <--- I dont think you need to do this, its installed with dcs-stream-deck-ka50 "npm install stream-deck-api" 6. Install Git (needed for dc-stream-deck-ka50 to install) https://www.atlassian.com/git/tutorials/install-git#windows 7. Install dcs-stream-deck-ka50 Grab the zip from https://github.com/danieltian/dcs-stream-deck-ka50, unzip into a folder and from in that same directory, using the node.js command line: npm install8. Run it npm start9. Bathe in the glorious-ness of your Stream Deck being bent to you will! -
By the looks of things the Hornet grip is missing only a 4-way hat compared to the Warthog. And depending on what the little scroll wheel (??) is under the the two upper hats, it might not be missing much at all. So why change any code what so ever? Surely the prudent choice is make the new grip a 1:1 map to the existing grip, and allow Target to program a non-existent button that you know will never be pressed.
-
Is it just me or is it just plain weird hearing Matt's voice without looking through the HUD of an aircraft? :D
-
to force the update from the commandline: "open-alpha2\bin\dcs_updater.exe update"
-
I am pretty sure the POV Hat in the Warthog is only 4 switches, however you can physically engage two whilst pushing into the corners. Page 15 of the script manual shows all the modify keys and "combo" keystokes.
-
I'm in Adelaide and I have a TIR4 and a TIR5 :)