安裝 Steam
登入
|
語言
簡體中文
日本語(日文)
한국어(韓文)
ไทย(泰文)
Български(保加利亞文)
Čeština(捷克文)
Dansk(丹麥文)
Deutsch(德文)
English(英文)
Español - España(西班牙文 - 西班牙)
Español - Latinoamérica(西班牙文 - 拉丁美洲)
Ελληνικά(希臘文)
Français(法文)
Italiano(義大利文)
Bahasa Indonesia(印尼語)
Magyar(匈牙利文)
Nederlands(荷蘭文)
Norsk(挪威文)
Polski(波蘭文)
Português(葡萄牙文 - 葡萄牙)
Português - Brasil(葡萄牙文 - 巴西)
Română(羅馬尼亞文)
Русский(俄文)
Suomi(芬蘭文)
Svenska(瑞典文)
Türkçe(土耳其文)
tiếng Việt(越南文)
Українська(烏克蘭文)
回報翻譯問題
But you will have to be a very good software engineer.
I've personally used GlovePIE and ppjoy for over 10 years, (FreePIE and vjoy are probably as versatile) but ultimately what I think you're going to find is that in terms of gamepad controls, you really only want that handling the analog joystick, (any analog only input really, for games that support it) and the rest sending keyboard and mouse commands.
A strictly gamepad setup is far too limiting, especially considering the fact you have less buttons to work with, and the button layout. The obvious benefit to this is that your IR pointer becomes a very comfortable way to accurately control your PC's mouse with no drifting at all, and gesture commands.
So to (not) answer your question, I'd look at it under a different light. It's the same way anyone well versed with the Steam controller would tell you 'Don't think gamepad, think keyboard and mouse.'
I love Steam's API as well, but when you're using a Wiimote and nunchuk, you're going to want your config at a lower level. Read up as much as you can on the PIE programs and you won't regret it. Most importantly, don't buy software from lunatics. :)
PPJoy1.Digital0 = Wiimote1.B
PPJoy1.Digital1 = Wiimote1.A
PPJoy1.Digital2 = Wiimote1.Nunchuk.ZButton
PPJoy1.Digital3 = Wiimote1.Nunchuk.CButton
PPJoy1.Digital4 = Wiimote1.Up
PPJoy1.Digital5 = Wiimote1.Down
PPJoy1.Digital6 = Wiimote1.Left
PPJoy1.Digital7 = Wiimote1.Right
PPJoy1.Digital8 = Wiimote1.Minus
PPJoy1.Digital9 = Wiimote1.Plus
PPJoy1.Digital10 = Wiimote1.One
PPJoy1.Digital11 = Wiimote1.Two
PPJoy1.Digital12 = Wiimote1.Home
PPJoy1.Analog0 = (Wiimote1.Nunchuk.JoyX*1)
PPJoy1.Analog1 = (Wiimote1.Nunchuk.JoyY*1)
You'll notice that everything is mapped to generic gamepad buttons and axis, but keep in mind that you could also map those inputs to keystrokes or even both at the same time. So the eventual end result of this script on execution is GlovePIE emulating a full generic windows gamepad named 'PPJOY virtual joystick' with 12 buttons and X and Y axis for an analog joystick, all of which you could configure with Steam's API since it now supports generic controllers. You would in your above example config the home button to 'PPJOY virtual joystick's guide button, and when you hit the home button, GlovePIE would tell ppjoy to hit Digital12, where Steam knows now to treat that as the guide.
This is sort of what I mean by that extra layer though, because personally because I only use the analog functions and KB+M for everything else, I'd just quickly change the script and run it again.
Also as far as I know, FreePIE never figured out support for the IR camera, just the gyroscope.. and that's a dealbreaker for me. I could be wrong. But yes vJoy would essentially do the same thing.
The PPJoy driver requires test signing certificates (on Win 8 it forces Windows test mode) but I also remember having to go back to 0.8.4.5 for one reason or another. There is plenty of information on the blog and is even open source now, so catch yourself up and good luck.
This is graveyard-ware we're dealing with though so be prepared for searching through Wayback Machine for information and scripts. To be fair, as perfect a PC controller the Wiimote is, we are now dealing with legacy hardware here. You also can't do IR triangulation to eliminate gyro drifting when you put the camera on the ass end of the joycon either. :)
https://pastebin.com/15iZsWhv
There are other GUI based options as you know. Justin Keys just added very basic IR pointing to both of his programs, Touchmote just pushed a fix for Windows 10.. that said, they don't yet offer nearly the kind of control you have with PIE.
It looks like IR tracking is in it judging on the variables there.
https://www.mtbs3d.com/phpBB/viewtopic.php?f=139&t=18342
I looked at Glovepie in a hex editor to see if I could find anything about Vjoy in the code, but closest I got was PPjoy.
Politics aside, the check he put into GlovePIE is easy to bypass, fwiw. I personally still default to it because when you know what you're doing, it offers far more.
Maybe I'll round up some of the scripts I've written as examples of how powerful and flexible PIE is. If you're not looking for any adventure however, there are other options on the table that support the camera.