• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Controllers v
« Previous 1 2 3 4 5 ... 305 Next »

Genius Wizard Stick VJoy Feeder
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Closed 
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Genius Wizard Stick VJoy Feeder
11-25-2017, 06:44 PM (This post was last modified: 11-25-2017, 07:02 PM by kamiloxnumetal. Edit Reason: Syntax error :) )
#1
kamiloxnumetal Offline
Junior Member
**
Posts: 9
Threads: 1
Joined: Nov 2017
Music 
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.
Find
12-28-2017, 02:34 AM
#2
viktormax3 Offline
Junior Member
**
Posts: 6
Threads: 0
Joined: Dec 2017
Error not found vcruntime140d.dll and ucrtbased.dll Sad
Find
12-28-2017, 03:47 AM (This post was last modified: 12-28-2017, 03:47 AM by kamiloxnumetal.)
#3
kamiloxnumetal Offline
Junior Member
**
Posts: 9
Threads: 1
Joined: Nov 2017
(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
Find
12-28-2017, 05:11 AM (This post was last modified: 12-28-2017, 05:11 AM by JosJuice.)
#4
JosJuice Online
Developer
**********
Developers (Some Administrators and Super Moderators)
Posts: 7,987
Threads: 7
Joined: Oct 2014
(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.
Find
12-28-2017, 06:01 AM
#5
kamiloxnumetal Offline
Junior Member
**
Posts: 9
Threads: 1
Joined: Nov 2017
(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
Find
12-28-2017, 07:33 AM
#6
viktormax3 Offline
Junior Member
**
Posts: 6
Threads: 0
Joined: Dec 2017
(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
Find
12-28-2017, 02:55 PM
#7
kamiloxnumetal Offline
Junior Member
**
Posts: 9
Threads: 1
Joined: Nov 2017
(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
Find
12-28-2017, 03:43 PM
#8
viktormax3 Offline
Junior Member
**
Posts: 6
Threads: 0
Joined: Dec 2017
(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?
Find
12-28-2017, 04:00 PM (This post was last modified: 12-28-2017, 04:02 PM by kamiloxnumetal.)
#9
kamiloxnumetal Offline
Junior Member
**
Posts: 9
Threads: 1
Joined: Nov 2017
(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
Find
12-28-2017, 04:31 PM
#10
viktormax3 Offline
Junior Member
**
Posts: 6
Threads: 0
Joined: Dec 2017
(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
Find
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »
Thread Closed 


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode