View Single Post
Old 02-19-08, 06:35 PM   #259
minsc_tdp
XO
 
Join Date: Mar 2007
Posts: 411
Downloads: 1
Uploads: 0
Default

Tube4 - I would be happy to make a modification to the system that allows you to swap these. Making it detect the OS mouse settings would be difficult, albeit ideal, I don't have the time for that. But I could put in a little config tweak that would allow you to tell my code that it is left-handed. I might be able to do this as early as tonight, but it's hard to say.

In the meantime, if you want to keep trying to do it yourself for fun, here's a tip: You don't need to recompile the python stuff which results in hear.exe. That has nothing to do with this. All you would really have to do is swap all instances of LEFTDOWN and LEFTUP in voice.pl with RIGHTDOWN and RIGHTUP. Then you can just compile voice.pl into voice.exe using the free trial version of perl2exe (google that). Then put voice.exe into the DIST folder and you're set.

However, there are certain libraries that you would need installed into Perl to make it compile. To get these, just look in voice.pl for any line starting with "use" such as "use Math::Trig" and from a command line, swap the colon with a dash, like so, to type: "ppm install Math-Trig" and you should get the library automatically. Once they're all installed it should compile clean.

Or you can just wait for 2.51 which will have this feature
__________________
June 29 2016 - shSpeech v2.55 - Voice Command for Silent Hunter 4! View Thread
minsc_tdp is offline   Reply With Quote