| | | Supreme Being
       
Group: Moderated Users Last Login: 12/4/2008 1:36:50 PM Posts: 539, Visits: 1,120 |
| | Here is a my mouse/joystick/keyboard emulation program for the VR920. http://rapidshare.com/files/59195427/GlovePIETrackedDesktop.zip Edit: Updated link to latest version. I don't have a VR920, so I can't test it. But in theory it allows you to control any game or program by rotating your head in whatever direction, or by speaking voice commands into the built-in microphone. You will need to download this program, and extract it into a new directory. If you are using Vista, you should right-click on PIE.exe and choose Properties, then the compatability tab, then "Run this program as an administrator". If it is not run as an administrator, then Vista won't let it send keystrokes to full-screen applications. If you want to emulate the joystick, you should also download and install a program called "PPJoy". Search for it in an internet search engine. Once it is installed, go into the PPJoy control panel and add a virtual joystick. Otherwise you won't be able to control the virtual joystick in GlovePIE. If you don't have a speech recognition option in control panel, then you will need to download and install the full SAPI 5.1 with the included speech recogniser. Download it from: http://www.chant.net/downloads/sapi51.exe or you may be able to install the speech recognition system from your Microsoft Office CD, which is probably a later version. My program is called GlovePIE. It lets you control any game with any controls you want. It is very powerful, but you need to write simple scripts to describe what controls you want. There is a sample mouse/keyboard script included to show how it works. Please reply to say whether it works or not. Note this is not the proper version of GlovePIE 0.30, even though it says that. The real version will be released soon. This is just for you to test in the meantime. |
| | | | Supreme Being
       
Group: Forum Members Last Login: 9/27/2008 9:08:45 AM Posts: 92, Visits: 234 |
| Sorry, it is working
Now i´ll try Xwing alliance
Ok; mouse emulation works like a charm Good work! |
| | | | Supreme Being
       
Group: Forum Members Last Login: 9/27/2008 9:08:45 AM Posts: 92, Visits: 234 |
| | It may use some smoothing or dead zone, for the litlle vibration of the cursor, i will try with less mickeis for every 90º , also i remember some smoothing option from the 0.19 PIE, how can i try it? |
| | | | Supreme Being
       
Group: Forum Members Last Login: 9/27/2008 9:08:45 AM Posts: 92, Visits: 234 |
| The less mickeys thing worked very well 
at the moment this may be only my mind tricking me in that this does something more that just limiting the rotation circle to an arc; anyway cool' |
| | | | Supreme Being
       
Group: Moderated Users Last Login: 12/4/2008 1:36:50 PM Posts: 539, Visits: 1,120 |
| | Ah, excellent! Did you need to add it to iWear Monitor? Or close iWear Monitor? Or does it just work? I think because it is a native application, it shouldn't nead iWear Monitor, but I'm not sure. The keyboard roll things is just for demonstration. It wasn't necessarily intended to be useful in any game, although now that I think about it, some people may want to sidestep by tilting their head. Although maybe 20 degrees is too much. X-Wing Alliance should be fun to make a script for. If I recall correctly, it does allow you to look around your cockpit. Also voice commands are great in X-Wing Alliance. I had lots of fun making X-Wing alliance voice scripts in the past. "Artoo, jump to hyperspace!", "Lock S-Foils in attack position!", etc. But the beauty of this program is that you could even make a script for the original X-Wing game. You could either make your head directly control the ship by emulating the joystick, or you could look around with your head by emulating the numpad keys to jump to one of the 18 preset view angles it supports based on the angle of your head. Of course, you don't need to use this for first person games. You could make Commander Keen look up or down by looking up or down. |
| | | | Supreme Being
       
Group: Forum Members Last Login: 9/27/2008 9:08:45 AM Posts: 92, Visits: 234 |
| | I changed the 400 mickeys value for every 90º for 375 mickeis, sufficient for me, also not many grades less than complete 360º, way cool' |
| | | | Supreme Being
       
Group: Forum Members Last Login: 9/27/2008 9:08:45 AM Posts: 92, Visits: 234 |
| Yes, it worked without the monitor running XD, and yes i know, and love the PIE |
| | | | Supreme Being
       
Group: Moderated Users Last Login: 12/4/2008 1:36:50 PM Posts: 539, Visits: 1,120 |
| | Smoothing is with the smooth function. The simplest way is smooth(vr920.Yaw) But I don't recommend that kind of smoothing for a head-tracker, unless you also increase the frame rate. The function is Smooth(whatever, ExtraFramesToAverage, DeadbandDistance). ExtraFramesToAverage will introduce lag, but it will be smoother, I can't remember what the default is. DeadbandDistance is how far it has to move before it registers any movement, the default is 0. GlovePIE's default framerate is about 40Hz, because that is the rate of the P5 Glove. But you can increase the framerate by setting: PIE.FrameRate = 100 Hz or some other rate, at the top of your script. I have no idea at what rate it is possible to read the VR920's tracker. Does anyone know? |
| | | | Supreme Being
       
Group: Moderated Users Last Login: 12/4/2008 1:36:50 PM Posts: 539, Visits: 1,120 |
| Decoril (8/30/2007)
Yes, it worked without the monitor running XD, and yes i know, and love the PIE   But you didn't update it since version 0.19. You are an old fan from before it was cool to like PIE. But since I added support for the nintendo Wii Remote as soon as it came out (actually before it came out), PIE really became hugely famous. I got lots of requests for interviews from mainstream newspapers in the USA, computer magazines in germany, etc. Nintendo really made novel input devices very cool. By the way, I renamed it GlovePIE ages ago. Because it was impossible to search for PIE in google. So I chose a totally unique name that returned zero hits in google. Now it returns 119,000 hits in google. Do a search for GlovePIE on YouTube, there are lots of cool videos. This latest version of GlovePIE also adds support for the Novint Falcon, Sony SIXAXIS (including all six axes, and analog buttons, but not bluetooth), XBox360 controllers, and touchpads (absolute coordinates and pressure). And it has a really cool visualisation feature that I'll show you soon. |
| | | | Supreme Being
       
Group: Forum Members Last Login: 9/27/2008 9:08:45 AM Posts: 92, Visits: 234 |
| Good work again |
| |
|
|