Om Posted May 25, 2020 Posted May 25, 2020 (edited) Hey, I've been following the thread for a while now and just want to share something I found across the board. There is a Valve Index Emulator driver for the LeapMotion:https://github.com/SDraw/driver_leap I just disabled all buttons and other gestures in the settings and can now easily press the buttons in DCS. At least in 2.5.5. 2.5.6. you don't just "press it" but press the B key, which is very unintuitive. The driver has only one small quirk - the hands have a rotation offset. I already tried to fix that myself, but the driver was compiled with Visual Studio 2013. Under Windows 10 I only run VS 2017&2019 and there are a lot of errors. The thing is really 1A, except for this twist. I will try to set up Win7 in a virtual machine with VS2013 soon. Yeah, I was playing with this driver all night recently and no success, it's so weird and clunky, I've tried Vive and Index controllers "mode" - the same, tried VR chat - it has offset, as you said, and it's impossible to use it there, cause sometimes it doesn't show right hand/controller. BTW I've never seen "hand/controller: in SteamVR home, only in settings menu or game (VRChat). But I didn't try to disable buttons. Maybe that will help. Anyway, it's sooo weird, but original LeapMotion Visualizer work perfectly, really strange thing. Where did you disable buttons? In settings config file (where you type what kind of controller you wanna use?)? Edited May 25, 2020 by Om :sly: Intel i9 9900K | RTX 2080ti | 64gb DDR4 | m2 SSD 512 gb + 512 gb + SSD 512 gb + HDD 2 tb | Saitek X-52 :joystick: | TrackIR 5 + TrackClip PRO | Rift S :pilotfly:
havok2 Posted May 25, 2020 Posted May 25, 2020 Yeah, I was playing with this driver all night recently and no success, it's so weird and clunky, I've tried Vive and Index controllers "mode" - the same, tried VR chat - it has offset, as you said, and it's impossible to use it there, cause sometimes it doesn't show right hand/controller. BTW I've never seen "hand/controller: in SteamVR home, only in settings menu or game (VRChat). But I didn't try to disable buttons. Maybe that will help. Anyway, it's sooo weird, but original LeapMotion Visualizer work perfectly, really strange thing. Where did you disable buttons? In settings config file (where you type what kind of controller you wanna use?)? Yes, the recognition of gestures only makes everything more complicated. Basically, only the position is needed.
Kariyann71 Posted May 25, 2020 Author Posted May 25, 2020 That's one of the drivers you install for DCLeap. It works in a SteamVR app but with the Rift (S), DCS automatically uses the Oculus Home software when you launch it in VR. I found this somewhere in the forum. Have you tried this : Supported platforms The tool has been developed using OpenVR (SteamVR) which, to my limited understanding of the VR APIs is the only platform supporting external overlays into applications “out of the box”. The good news for Oculus owners (like me) is that SteamVR is complatible with Oculus devices too. It is just required that your (flight) simulator is compatible with SteamVR and can be forced to SteamVR mode. In case of DCS this is done by adding a command line option ( --force_steam_VR ) or by using Skatezilla DCS Updater. Corei7 2600K 4.4Ghz OC - NVIDIA GTX 1080 Ti 11Gb - 16 Gb DDR3 HP Reverb PRO HMD - Thrusmaster TWCS + TopGun Stick
Snake122 Posted May 25, 2020 Posted May 25, 2020 I found this somewhere in the forum. Have you tried this : Supported platforms The tool has been developed using OpenVR (SteamVR) which, to my limited understanding of the VR APIs is the only platform supporting external overlays into applications “out of the box”. The good news for Oculus owners (like me) is that SteamVR is complatible with Oculus devices too. It is just required that your (flight) simulator is compatible with SteamVR and can be forced to SteamVR mode. In case of DCS this is done by adding a command line option ( --force_steam_VR ) or by using Skatezilla DCS Updater. Thanks, I'll try that later today and report back. Since DCLeap is working in the SteamVR room, it seems like that could make it work. I7-9700KF@5ghz, 32GB DDR4 3200, RTX 3090, Pimax 5k+, Virpil T-50CM2 base with Warthog, F/A-18, T-50cm, and VFX grips, Saitek X65F, Saitek Switch Panel, TM Cougar MFDs, TM TPR pedals, JetSeat and bass pucks, H640P for VRK, PointCtrl 3rd Space Vest project for basic G Seat/G Suit simulation
havok2 Posted May 25, 2020 Posted May 25, 2020 Thanks, I'll try that later today and report back. Since DCLeap is working in the SteamVR room, it seems like that could make it work. If you start the Steam version of DCS and choose SteamVR version, I think it is the same as --SteamVR. I finally managed to install Visual Studio 2013 in a Windows 7 VM and compiled the driver successfully. Now I just have to implement an offset and compensate the existing one. I hope it is not too complicated...
Kariyann71 Posted May 25, 2020 Author Posted May 25, 2020 If you start the Steam version of DCS and choose SteamVR version, I think it is the same as --SteamVR. I finally managed to install Visual Studio 2013 in a Windows 7 VM and compiled the driver successfully. Now I just have to implement an offset and compensate the existing one. I hope it is not too complicated... You can edit LeapMotion SteamVR drivers hand’s offset in the config xml file of the driver. I could be easier in think. Corei7 2600K 4.4Ghz OC - NVIDIA GTX 1080 Ti 11Gb - 16 Gb DDR3 HP Reverb PRO HMD - Thrusmaster TWCS + TopGun Stick
Snake122 Posted May 25, 2020 Posted May 25, 2020 (edited) If you start the Steam version of DCS and choose SteamVR version, I think it is the same as --SteamVR. I finally managed to install Visual Studio 2013 in a Windows 7 VM and compiled the driver successfully. Now I just have to implement an offset and compensate the existing one. I hope it is not too complicated... I don't have the Steam version of DCS and so far my attempts to add it manually to the Steam library have not worked. Have you tried the SDraw driver with DCLeap yet? The hands seem less offset than the controllers. Edited May 25, 2020 by Snake122 I7-9700KF@5ghz, 32GB DDR4 3200, RTX 3090, Pimax 5k+, Virpil T-50CM2 base with Warthog, F/A-18, T-50cm, and VFX grips, Saitek X65F, Saitek Switch Panel, TM Cougar MFDs, TM TPR pedals, JetSeat and bass pucks, H640P for VRK, PointCtrl 3rd Space Vest project for basic G Seat/G Suit simulation
havok2 Posted May 25, 2020 Posted May 25, 2020 You can edit LeapMotion SteamVR drivers hand’s offset in the config xml file of the driver. I could be easier in think. But it do nothing sadly. I tried it. I tried values from 0.0-1.0 and 0.0-360. Nothing changes here. And I will try DCLeap later this day. Thanks!
Om Posted May 25, 2020 Posted May 25, 2020 I saw that red and green square, showed them my palms, they disappeared but then everything was clicking in Windows, cause somehow DCS was minimized, I could scroll inside folders, but I didn't understand that was me or just some random actions... maybe it's because DCS launches in kind of square format (not fullscreen I mean)... can't really understand how it should work :sly: Intel i9 9900K | RTX 2080ti | 64gb DDR4 | m2 SSD 512 gb + 512 gb + SSD 512 gb + HDD 2 tb | Saitek X-52 :joystick: | TrackIR 5 + TrackClip PRO | Rift S :pilotfly:
Kariyann71 Posted May 25, 2020 Author Posted May 25, 2020 I saw that red and green square, showed them my palms, they disappeared but then everything was clicking in Windows, cause somehow DCS was minimized, I could scroll inside folders, but I didn't understand that was me or just some random actions... maybe it's because DCS launches in kind of square format (not fullscreen I mean)... can't really understand how it should work Try to put DCS in full screen ALT+ENTER. Look at the DCLeap manual to learn about commands. Corei7 2600K 4.4Ghz OC - NVIDIA GTX 1080 Ti 11Gb - 16 Gb DDR3 HP Reverb PRO HMD - Thrusmaster TWCS + TopGun Stick
Snake122 Posted May 25, 2020 Posted May 25, 2020 Alright, using the --force_steam_Vr command line I have DCLeap working in DCS with my Rift S via SteamVR! I7-9700KF@5ghz, 32GB DDR4 3200, RTX 3090, Pimax 5k+, Virpil T-50CM2 base with Warthog, F/A-18, T-50cm, and VFX grips, Saitek X65F, Saitek Switch Panel, TM Cougar MFDs, TM TPR pedals, JetSeat and bass pucks, H640P for VRK, PointCtrl 3rd Space Vest project for basic G Seat/G Suit simulation
Kariyann71 Posted May 25, 2020 Author Posted May 25, 2020 Alright, using the --force_steam_Vr command line I have DCLeap working in DCS with my Rift S via SteamVR! Good news ! Maybe It could be the same for Pimax’s Users Corei7 2600K 4.4Ghz OC - NVIDIA GTX 1080 Ti 11Gb - 16 Gb DDR3 HP Reverb PRO HMD - Thrusmaster TWCS + TopGun Stick
Snake122 Posted May 25, 2020 Posted May 25, 2020 Good news ! Maybe It could be the same for Pimax’s Users Mine should be here this week. I'll try it the same method on it. But really it seems to be the same install method and everything, just the command line parameter to make it use SteamVR! I7-9700KF@5ghz, 32GB DDR4 3200, RTX 3090, Pimax 5k+, Virpil T-50CM2 base with Warthog, F/A-18, T-50cm, and VFX grips, Saitek X65F, Saitek Switch Panel, TM Cougar MFDs, TM TPR pedals, JetSeat and bass pucks, H640P for VRK, PointCtrl 3rd Space Vest project for basic G Seat/G Suit simulation
Kariyann71 Posted May 25, 2020 Author Posted May 25, 2020 Good news ! Maybe It could be the same for Pimax’s Users For information, I will publish this week end a new version with kneeboard and scratchpad interactions Corei7 2600K 4.4Ghz OC - NVIDIA GTX 1080 Ti 11Gb - 16 Gb DDR3 HP Reverb PRO HMD - Thrusmaster TWCS + TopGun Stick
Om Posted May 25, 2020 Posted May 25, 2020 Alright, using the --force_steam_Vr command line I have DCLeap working in DCS with my Rift S via SteamVR! It works for you as it's supposed to? No problems? Offset? Invert axis? :sly: Intel i9 9900K | RTX 2080ti | 64gb DDR4 | m2 SSD 512 gb + 512 gb + SSD 512 gb + HDD 2 tb | Saitek X-52 :joystick: | TrackIR 5 + TrackClip PRO | Rift S :pilotfly:
Snake122 Posted May 25, 2020 Posted May 25, 2020 For information, I will publish this week end a new version with kneeboard and scratchpad interactionsThank you, looking forward to it! It works for you as it's supposed to? No problems? Offset? Invert axis? It works, I can flip switches. Alt-enter is practically required. Still learning how to use the app. I get the DCLeap hands which then "holds" the DCS glove. Seems to no have a major offset but maybe some, haven't needed to invert, haven't used mouse mode nor gestures yet, but have switched in and out of mouse mode momentarily and have looked up to find the ejection handle. I7-9700KF@5ghz, 32GB DDR4 3200, RTX 3090, Pimax 5k+, Virpil T-50CM2 base with Warthog, F/A-18, T-50cm, and VFX grips, Saitek X65F, Saitek Switch Panel, TM Cougar MFDs, TM TPR pedals, JetSeat and bass pucks, H640P for VRK, PointCtrl 3rd Space Vest project for basic G Seat/G Suit simulation
streakeagle Posted May 25, 2020 Posted May 25, 2020 I guess I will go ahead and get a LeapMotion and see if I can make with work with the Rift S and DCS World. [sIGPIC][/sIGPIC]
havok2 Posted May 25, 2020 Posted May 25, 2020 Hello Kariyann71, I tried DCLeap today. Thank you for your work! I have a question about the position of the course and the resolution of the VR glasses. I use the Valve Index at 160% resolution (2548x2832px). I have also shown the hand models, because I find this super intuitive. Unfortunately the Courser is completely beside the hands and also not 1:1. Is there anything else to consider here? Thanks a lot!
Kariyann71 Posted May 25, 2020 Author Posted May 25, 2020 Hello Kariyann71, I tried DCLeap today. Thank you for your work! I have a question about the position of the course and the resolution of the VR glasses. I use the Valve Index at 160% resolution (2548x2832px). I have also shown the hand models, because I find this super intuitive. Unfortunately the Courser is completely beside the hands and also not 1:1. Is there anything else to consider here? Thanks a lot! What’s the version of DCLeap you have ? Is it the last one published on GitHub ? If yes, you could be able to offset the cursor and set sensitivity to better fit hand position. But I personally use « show hands » feature to debug or interact with ejection handle or kneeboard interaction (future feature). In these cases, hands appears automatically. Corei7 2600K 4.4Ghz OC - NVIDIA GTX 1080 Ti 11Gb - 16 Gb DDR3 HP Reverb PRO HMD - Thrusmaster TWCS + TopGun Stick
Om Posted May 25, 2020 Posted May 25, 2020 Alright, using the --force_steam_Vr command line I have DCLeap working in DCS with my Rift S via SteamVR! Can you make the detailed guide on how to make it works? I don't see hands, cursors even in SteamVR home. I see those red and green squares, I show my palm, the disappear and nothing happens. I think before it was ok, but now when I look around in my Rift S it stutters even on Low settings. WTF :sly: Intel i9 9900K | RTX 2080ti | 64gb DDR4 | m2 SSD 512 gb + 512 gb + SSD 512 gb + HDD 2 tb | Saitek X-52 :joystick: | TrackIR 5 + TrackClip PRO | Rift S :pilotfly:
Om Posted May 25, 2020 Posted May 25, 2020 Finally, I've seen somehow hands-on ejection gesture, tried to make this then it started lagging with title "ejection imminent", no more gestures, and even no ejection as the action. But I've never seen the cursor, I don't see it even when disable DCleap (if I got it right if I don't see squares so it's disabled) and try to use the mouse, click and etc. (mouse is on in settings). :sly: Intel i9 9900K | RTX 2080ti | 64gb DDR4 | m2 SSD 512 gb + 512 gb + SSD 512 gb + HDD 2 tb | Saitek X-52 :joystick: | TrackIR 5 + TrackClip PRO | Rift S :pilotfly:
Kariyann71 Posted May 25, 2020 Author Posted May 25, 2020 Finally, I've seen somehow hands-on ejection gesture, tried to make this then it started lagging with title "ejection imminent", no more gestures, and even no ejection as the action. But I've never seen the cursor, I don't see it even when disable DCleap (if I got it right if I don't see squares so it's disabled) and try to use the mouse, click and etc. (mouse is on in settings). Hello Om. Download the last version on GitHub (April release). This will probably correct the ejection feature and the lagging. To use DCLeap, start it, you will see two squares. Turn your palms in front of your face with all fingers extended and you will disable square according to the hand facing your HMd. Select one hand to get a square, the red or the green. Now you will be able to live the cursor. Execute trigger gesture to left click. Turn your palm il front of you, a little blue square will appear, execute trigger gesture and this will execute a right click. All other commands are developped in the user’s manual. Corei7 2600K 4.4Ghz OC - NVIDIA GTX 1080 Ti 11Gb - 16 Gb DDR3 HP Reverb PRO HMD - Thrusmaster TWCS + TopGun Stick
Om Posted May 25, 2020 Posted May 25, 2020 Hello Om. Download the last version on GitHub (April release). This will probably correct the ejection feature and the lagging. To use DCLeap, start it, you will see two squares. Turn your palms in front of your face with all fingers extended and you will disable square according to the hand facing your HMd. Select one hand to get a square, the red or the green. Now you will be able to live the cursor. Execute trigger gesture to left click. Turn your palm il front of you, a little blue square will appear, execute trigger gesture and this will execute a right click. All other commands are developped in the user’s manual. I've tried that.. method 1 and 2... got the same result. I don't see the cursor, only that buggy ejection hands I was writing about. Maybe problem that I said it as Index controllers, I don't know, or I have to disable that button. I'd like to know from Snake. And I have Steam version of DCS, don't know should I write that extra command or not. So it's a lot of IF here and there :sly: Intel i9 9900K | RTX 2080ti | 64gb DDR4 | m2 SSD 512 gb + 512 gb + SSD 512 gb + HDD 2 tb | Saitek X-52 :joystick: | TrackIR 5 + TrackClip PRO | Rift S :pilotfly:
streakeagle Posted May 25, 2020 Posted May 25, 2020 1) I ordered the Leap Motion controller and VR mount from Mouser, should be here in a few days (2nd Day Federal Express, but order delayed by holiday). 2) I created a shortcut on my desktop for the DCS.exe and used the "--force_steam_VR" switch. It definitely works. It is a little glitchy when transitioning between screens, but once I am in the mission, performance and quality seems to be about the same. So, now I am just waiting for the package to arrive. [sIGPIC][/sIGPIC]
Om Posted May 25, 2020 Posted May 25, 2020 Discounts are now on Steam till 28th, and I was considering to buy some more modules with clickable cockpits if I manage to set VR with appropriate FPS and Leap Motion. That's shame devs do nothing this way. :sly: Intel i9 9900K | RTX 2080ti | 64gb DDR4 | m2 SSD 512 gb + 512 gb + SSD 512 gb + HDD 2 tb | Saitek X-52 :joystick: | TrackIR 5 + TrackClip PRO | Rift S :pilotfly:
Recommended Posts