Dolphin, the GameCube and Wii emulator - Forums

Full Version: Genius Wizard Stick VJoy Feeder
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Anyone remember the "Genius Wizard Stick" the one that comes with the ugly Aiwi program and needs internet
to work.

I coded a small program to use it without aiwi, using hid api and the vJoy sdk.

You will need visual c++ 2017 redist.

And Vjoy 2.18.

Install Vjoy 2.18. and configure and enable a joystick with at least 8 buttons, 1 continous pov and the x,y and z axes.

Next plug the Genius receiver and run "GeniusWizardStickListener.exe".

It will say: "VJoy Device 1 Opened" , that's all now the jvoy virtual device will reflect the wizard stick input, so you can use it in dolphin or any other game or emulator.

I've only tested this on windows 10 x64 (creators update).

Download Link (Source Code Included):

Genius Wizard Stick Listener 0.1

Currently it only supports one controller, i've reverse enginereed this sniffing the usb receiver , i've only have one controller so i don't know
how the data flow is with more controllers connected, is someone is interesed and have more controllers maybe i can build a small debug tool to check it.
Or if someone lives in chile we can contact.

Now that i learned the vjoy api i suppose i can code an android app to use with vjoy too because udp wii is not supported anymore, so you can use your phones on dolphin anyway.
Error not found vcruntime140d.dll and ucrtbased.dll Sad
(12-28-2017, 02:34 AM)viktormax3 Wrote: [ -> ]Error not found vcruntime140d.dll and ucrtbased.dll Sad

oh maybe it's visual c++ 2015 redist not 2017, i'm really not sure , if not google the dll files and put it in the same folder of the exe
(12-28-2017, 03:47 AM)kamiloxnumetal Wrote: [ -> ]oh maybe it's visual c++ 2015 redist not 2017, i'm really not sure , if not google the dll files and put it in the same folder of the exe

Those are the debug versions of the DLLs. You should build a release version of the program, because as far as I know, there is no good way for users to get the debug DLLs without installing build tools.
(12-28-2017, 05:11 AM)JosJuice Wrote: [ -> ]Those are the debug versions of the DLLs. You should build a release version of the program, because as far as I know, there is no good way for users to get the debug DLLs without installing build tools.

ok i'm going to check it later, i never use visual studio, i always use mingw so i'm not used to how it works, thanks for the explanation
(12-28-2017, 03:47 AM)kamiloxnumetal Wrote: [ -> ]oh maybe it's visual c++ 2015 redist not 2017, i'm really not sure , if not google the dll files and put it in the same folder of the exe

for you https://social.msdn.microsoft.com/Forums/vstudio/en-US/06b66cae-d010-441d-bc72-64a8c7cd65bc/missing-vcruntime140ddll-and-ucrtbaseddll?forum=visualstudiogeneral

The problem is that you complied in debug mode instead of release, so that I could work would have to install visual studio.

That's why your computer works correctly
I would appreciate it very much if you can compile again in release mode
(12-28-2017, 07:33 AM)viktormax3 Wrote: [ -> ]for you https://social.msdn.microsoft.com/Forums/vstudio/en-US/06b66cae-d010-441d-bc72-64a8c7cd65bc/missing-vcruntime140ddll-and-ucrtbaseddll?forum=visualstudiogeneral

The problem is that you complied in debug mode instead of release, so that I could work would have to install visual studio.

That's why your computer works correctly
I would appreciate it very much if you can compile again in release mode

The exe itself was built in release mode, the problem was that i've built hidapi.dll in debug mode  Big Grin

here is compiled correctly with all in release mode.

Compiled Release

Source Code
(12-28-2017, 02:55 PM)kamiloxnumetal Wrote: [ -> ]The exe itself was built in release mode, the problem was that i've built hidapi.dll in debug mode  Big Grin

here is compiled correctly with all in release mode.

Compiled Release

Source Code

Ohh! work perfect, a question, what is the mapping of the buttons and axis?
(12-28-2017, 03:43 PM)viktormax3 Wrote: [ -> ]Ohh! work perfect, a question, what is the mapping of the buttons and axis?

S -> button 4
A -> button 1
B -> button 2
Menu -> button 3
Blue Square -> button 5
Red Cross -> button 6
Green Circle -> button 7
Yellow Triangle -> button 8

The directional arrows are the continous pov 1 of vjoy with the controller in vertical position

and the axes , x axis is rotate the control horizontally
y axis is rotate the control vertically
z axis is if the controller genius logo is upside or downside
(12-28-2017, 04:00 PM)kamiloxnumetal Wrote: [ -> ]S -> button 4
A -> button 1
B -> button 2
Menu -> button 3
Blue Square -> button 5
Red Cross -> button 6
Green Circle -> button 7
Yellow Triangle -> button 8

The directional arrows are the continous pov 1 of vjoy with the controller in vertical position

and the axes , x axis is rotate the control horizontally
y axis is rotate the control vertically
z axis is if the controller genius logo is upside or downside
perfect! the only thing that does not work is the feedback or I did not know how to configure it
Pages: 1 2