Announcement

Collapse
No announcement yet.

Wiimote plugin for UE4

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Wiimote plugin for UE4

    https://github.com/xoyojank/UE4-Wiimote-Plugin
    Click image for larger version

Name:	20150630114824432.png
Views:	1
Size:	97.0 KB
ID:	1154947
    Click image for larger version

Name:	20150630115059609.png
Views:	1
Size:	189.3 KB
ID:	1154948
    Click image for larger version

Name:	20150630115412200.png
Views:	1
Size:	863.4 KB
ID:	1154949

    #2
    I really appreciate your work on this. May I know if your plugin has a version for UE4.8?

    Comment


      #3
      Which version are you using? I tried 4.6 to 4.8 , all of them gave me this error: Wiimote plugin cannot be found or in a different version.

      Comment


        #4
        Same here, we tried to make this plugin work for several hours with versions 4.6 to 4.7 and nothing helped.

        When building manually it logs the following:

        WiimotePlugin.cpp(8): error C2514: 'FWiimoteInputDevice' : class has no constructors
        WiimotePlugin.h(23) : see declaration of 'FWiimoteInputDevice'
        Last edited by Roanoked; 07-09-2015, 06:35 AM.

        Comment


          #5
          Originally posted by kuo View Post
          Which version are you using? I tried 4.6 to 4.8 , all of them gave me this error: Wiimote plugin cannot be found or in a different version.
          Originally posted by Roanoked View Post
          Same here, we tried to make this plugin work for several hours with versions 4.6 to 4.7 and nothing helped.

          When building manually it logs the following:

          WiimotePlugin.cpp(8): error C2514: 'FWiimoteInputDevice' : class has no constructors
          WiimotePlugin.h(23) : see declaration of 'FWiimoteInputDevice'

          It's for version 4.2 I think... but still got below error:
          Click image for larger version

Name:	Wiimote Plugin Error Msg.png
Views:	1
Size:	19.6 KB
ID:	1081656

          Comment


            #6
            Still nothing...

            Originally posted by PhoenixThrough View Post
            It's for version 4.2 I think... but still got below error:
            [ATTACH=CONFIG]47656[/ATTACH]
            Anyone got the plugin to work? I'm having the same errors everyone here is having! :O

            Thanks!

            Comment


              #7
              I worked on 4.7, and I will try a clean build of 4.8, thanks for you reply

              Comment


                #8
                you can try place the "Wiimote"(not "UE4-Wiimote-Plugin") under UnrealEngine/Engine/Plugins/ folder, and regenerated the solution/project files.
                besides, copy the "wiiuse.dll" into UnrealEngine/Engine/Binaries/Win64/

                Comment


                  #9
                  Thanks for the reply!

                  Unfortunately I did all like you said and I'm getting the "wiimote could not be compiled. Try rebuilding from source manually." error when trying to rebuild

                  Comment


                    #10
                    I've tried to compile this plugin for UE 4.8.
                    But,This error logs appeard.

                    ..\\Public\WiimoteFunctionLibrary.h(9) : error C2079: 'UWiimoteFunctionLibrary' uses undefined class 'WIIMOTE_API'
                    ..\\Public\WiimoteFunctionLibrary.h(9) : error C2143: syntax error : missing ';' before ':'
                    ..\\Public\WiimoteFunctionLibrary.h(9) : error C2059: syntax error : ':'
                    ..\\Public\WiimoteFunctionLibrary.h(9) : error C2059: syntax error : 'public'
                    ..\\Public\WiimoteFunctionLibrary.h(10) : error C2143: syntax error : missing ';' before '{'
                    ..\\Public\WiimoteFunctionLibrary.h(10) : error C2447: '{' : missing function header (old-style formal list?)
                    ..\\Public/WiimoteFunctionLibrary.h(9) : error C2079: 'UWiimoteFunctionLibrary' uses undefined class 'WIIMOTE_API'
                    ..\\Public/WiimoteFunctionLibrary.h(9) : error C2143: syntax error : missing ';' before ':'
                    ..\\Public/WiimoteFunctionLibrary.h(9) : error C2059: syntax error : ':'
                    ..\\Public/WiimoteFunctionLibrary.h(9) : error C2059: syntax error : 'public'
                    ..\\Public/WiimoteFunctionLibrary.h(10) : error C2143: syntax error : missing ';' before '{'
                    ..\\Public/WiimoteFunctionLibrary.h(10) : error C2447: '{' : missing function header (old-style formal list?)
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(12) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(12) : error C2039: 'StaticRegisterNativesUWiimoteFunctionLibrary' : is not a member of '`global namespace''
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(12) : error C2146: syntax error : missing ';' before identifier 'StaticRegisterNativesUWiimoteFunctionLibrary'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(12) : error C2182: 'UWiimoteFunctionLibrary' : illegal use of type 'void'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(12) : error C2086: 'int UWiimoteFunctionLibrary' : redefinition
                    ..\\Public/WiimoteFunctionLibrary.h(9) : see declaration of 'UWiimoteFunctionLibrary'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(13) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(14) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(14) : error C2039: 'StaticClass' : is not a member of '`global namespace''
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(14) : error C2146: syntax error : missing ')' before identifier 'StaticClass'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(14) : error C2660: 'FNativeFunctionRegistrar::RegisterFunction' : function does not take 1 arguments
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(14) : error C2039: 'execSetIREnabled' : is not a member of '`global namespace''
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(14) : error C2059: syntax error : ')'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(15) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(15) : error C2039: 'StaticClass' : is not a member of '`global namespace''
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(15) : error C2146: syntax error : missing ')' before identifier 'StaticClass'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(15) : error C2660: 'FNativeFunctionRegistrar::RegisterFunction' : function does not take 1 arguments
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(15) : error C2039: 'execSetMotionPlusEnabled' : is not a member of '`global namespace''
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(15) : error C2059: syntax error : ')'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(16) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(16) : error C2039: 'StaticClass' : is not a member of '`global namespace''
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(16) : error C2146: syntax error : missing ')' before identifier 'StaticClass'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(16) : error C2660: 'FNativeFunctionRegistrar::RegisterFunction' : function does not take 1 arguments
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(16) : error C2039: 'execSetMotionSensingEnabled' : is not a member of '`global namespace''
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(16) : error C2059: syntax error : ')'
                    ..\\Private\WiimoteFunctionLibrary.cpp(5) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'
                    ..\\Private\WiimotePlugin.cpp(8) : error C2514: 'FWiimoteInputDevice' : class has no constructors
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(17) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'
                    ..\\Private\WiimoteFunctionLibrary.cpp(5) : error C2143: syntax error : missing ';' before 'UWiimoteFunctionLibrary'
                    ..\\Public\WiimotePlugin.h(23) : see declaration of 'FWiimoteInputDevice'..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(17) : error C2039: 'StaticClass' : is not a member of '`global namespace''..\\Pr

                    ..\\Private\WiimoteFunctionLibrary.cpp(5) : error C2086: 'int UWiimoteFunctionLibrary' : redefinition
                    ..\\Public\WiimoteFunctionLibrary.h(9) : see declaration of 'UWiimoteFunctionLibrary'
                    ..\\Private\WiimoteFunctionLibrary.cpp(6) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
                    ..\\Private\WiimoteFunctionLibrary.cpp(6) : error C2063: 'UWiimoteFunctionLibrary' : not a function
                    ..\\Private\WiimoteFunctionLibrary.cpp(6) : error C3755: 'UWiimoteFunctionLibrary': a delegate may not be defined
                    ..\\Private\WiimoteFunctionLibrary.cpp(6) : error C2065: 'ObjectInitializer' : undeclared identifier
                    ..\\Private\WiimoteFunctionLibrary.cpp(10) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'

                    ..\\Private\WiimoteFunctionLibrary.cpp(10) : error C2039: 'SetIREnabled' : is not a member of '`global namespace''
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(17) : error C2146: syntax error : missing ')' before identifier 'StaticClass'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(17) : error C2660: 'FNativeFunctionRegistrar::RegisterFunction' : function does not take 1 arguments
                    ..\\Private\WiimoteFunctionLibrary.cpp(10) : error C2146: syntax error : missing ';' before identifier 'SetIREnabled'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(17) : error C2039: 'execSetRumbleEnabled' : is not a member of '`global namespace''..\\Private\WiimoteFunctionLibrary.cpp(10) : error C2182: 'UWiimoteFunctionLib

                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(17) : error C2059: syntax error : ')'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(18) : error C4508: 'StaticRegisterNativesUWiimoteFunctionLibrary' : function should return a value; 'void' return type assumed
                    ..\\Private\WiimoteFunctionLibrary.cpp(10) : error C2086: 'int UWiimoteFunctionLibrary' : redefinition
                    ..\\Public\WiimoteFunctionLibrary.h(9) : see declaration of 'UWiimoteFunctionLibrary'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(19) : error C2923: 'TClassCompiledInDefer' : 'UWiimoteFunctionLibrary' is not a valid template type argument for parameter 'TClass'
                    ..\\Private\WiimoteFunctionLibrary.cpp(11) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int ..\\Public/WiimoteFunctionLibrary.h(9) : see declaration of 'UWiimoteFunctionLibrary'

                    ..\\Private\WiimoteFunctionLibrary.cpp(17) : error C4508: 'SetIREnabled' : function should return a value; 'void' return type assumed
                    ..\\Private\WiimoteFunctionLibrary.cpp(19) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'
                    ..\\Private\WiimoteFunctionLibrary.cpp(19) : error C2039: 'SetMotionPlusEnabled' : is not a member of '`global namespace''
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(19) : error C2514: 'TClassCompiledInDefer' : class has no constructors..\\Private\WiimoteFunctionLibrary.cpp(19) : error C2146: syntax error : missing ';' before
                    ..\\Private\WiimoteFunctionLibrary.cpp(19) : error C2182: 'UWiimoteFunctionLibrary' : illegal use of type 'void'

                    c:\program files\epic games\4.8\engine\source\runtime\coreuobject\public\uobject\UObjectBase.h(313) : see declaration of 'TClassCompiledInDefer'
                    ..\\Private\WiimoteFunctionLibrary.cpp(19) : error C2086: 'int UWiimoteFunctionLibrary' : redefinition
                    ..\\Public\WiimoteFunctionLibrary.h(9) : see declaration of 'UWiimoteFunctionLibrary'
                    ..\\Private\WiimoteFunctionLibrary.cpp(20) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
                    ..\\Private\WiimoteFunctionLibrary.cpp(26) : error C4508: 'SetMotionPlusEnabled' : function should return a value; 'void' return type assumed
                    ..\\Private\WiimoteFunctionLibrary.cpp(28) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'
                    ..\\Private\WiimoteFunctionLibrary.cpp(28) : error C2039: 'SetMotionSensingEnabled' : is not a member of '`global namespace''
                    ..\\Private\WiimoteFunctionLibrary.cpp(28) : error C2146: syntax error : missing ';' before identifier 'SetMotionSensingEnabled'
                    ..\\Private\WiimoteFunctionLibrary.cpp(28) : error C2182: 'UWiimoteFunctionLibrary' : illegal use of type 'void'
                    ..\\Private\WiimoteFunctionLibrary.cpp(28) : error C2086: 'int UWiimoteFunctionLibrary' : redefinition
                    ..\\Public\WiimoteFunctionLibrary.h(9) : see declaration of 'UWiimoteFunctionLibrary'
                    ..\\Private\WiimoteFunctionLibrary.cpp(29) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
                    ..\\Private\WiimoteFunctionLibrary.cpp(35) : error C4508: 'SetMotionSensingEnabled' : function should return a value; 'void' return type assumed
                    ..\\Private\WiimoteFunctionLibrary.cpp(37) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'
                    ..\\Private\WiimoteFunctionLibrary.cpp(37) : error C2039: 'SetRumbleEnabled' : is not a member of '`global namespace''
                    ..\\Private\WiimoteFunctionLibrary.cpp(37) : error C2146: syntax error : missing ';' before identifier 'SetRumbleEnabled'
                    ..\\Private\WiimoteFunctionLibrary.cpp(37) : error C2182: 'UWiimoteFunctionLibrary' : illegal use of type 'void'
                    ..\\Private\WiimoteFunctionLibrary.cpp(37) : error C2086: 'int UWiimoteFunctionLibrary' : redefinition
                    ..\\Public\WiimoteFunctionLibrary.h(9) : see declaration of 'UWiimoteFunctionLibrary'
                    ..\\Private\WiimoteFunctionLibrary.cpp(38) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
                    ..\\Private\WiimoteFunctionLibrary.cpp(44) : error C4508: 'SetRumbleEnabled' : function should return a value; 'void' return type assumed
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(19) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(19) : error C2039: 'GetPrivateStaticClass' : is not a member of '`global namespace''
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(19) : error C2146: syntax error : missing ';' before identifier 'GetPrivateStaticClass'@progress 'Compiling C++ source code...' 40%

                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(19) : error C2373: 'UWiimoteFunctionLibrary' : redefinition; different type modifiers
                    ..\\Public/WiimoteFunctionLibrary.h(9) : see declaration of 'UWiimoteFunctionLibrary'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(19) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(19) : error C2065: 'StaticClassFlags' : undeclared identifier
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(19) : error C2974: 'GetPrivateStaticClassBody' : invalid template argument for 'TClass', type expected
                    C:\Program Files\Epic Games\4.8\Engine\Source\Runtime\CoreUObject\Public\UObject\Class.h(2402) : see declaration of 'GetPrivateStaticClassBody'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(19) : error C2440: 'return' : cannot convert from 'UClass *' to 'int'
                    There is no context in which this conversion is possible
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(19) : error C2617: 'GetPrivateStaticClass' : inconsistent return statement
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(19) : see declaration of 'GetPrivateStaticClass'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(133) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(133) : error C2039: 'StaticClass' : is not a member of '`global namespace''
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(133) : error C2146: syntax error : missing ';' before identifier 'StaticClass'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(133) : error C3861: 'StaticClass': identifier not found
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(142) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(142) : error C2039: 'StaticClass' : is not a member of '`global namespace''
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(142) : error C2440: '=' : cannot convert from 'int' to 'UClass *'
                    Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(142) : error C2146: syntax error : missing ';' before identifier 'StaticClass'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(142) : error C3861: 'StaticClass': identifier not found
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(169) : error C2825: 'UWiimoteFunctionLibrary': must be a class or namespace when followed by '::'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(169) : error C2143: syntax error : missing ';' before 'UWiimoteFunctionLibrary'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(169) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(169) : error C2086: 'int UWiimoteFunctionLibrary' : redefinition
                    ..\\Public/WiimoteFunctionLibrary.h(9) : see declaration of 'UWiimoteFunctionLibrary'
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(169) : error C2063: 'UWiimoteFunctionLibrary' : not a function
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(169) : error C3755: 'UWiimoteFunctionLibrary': a delegate may not be defined
                    ..\\Win64\UE4Editor\Inc\WiimotePlugin\WiimotePlugin.generated.cpp(169) : error C2065: 'Helper' : undeclared identifier

                    Comment


                      #11
                      Click image for larger version

Name:	Immagine.png
Views:	1
Size:	6.2 KB
ID:	1092659

                      Hi!
                      this is the message I get...
                      I am not able to find any dll file with this name.... are you sure to have made one?
                      do you know where is it?

                      thanks!

                      Comment


                        #12
                        Hello, I installed the plugin on 4.10 and buttons are woking very well. However with vectos Tilt, Gravity, Acceleration and RotationRate have some problems. Actually can't recieve any value (vector) that is being sent by the plugin.

                        This what I have:

                        I am just sending dumy values using Tilt vector when any event happen in the wiimote


                        Then, configure te proyect use the vector Tilt: Edit->Proyect Settings->Input. Bound Tilt vector with the key "Move"


                        Now In C++ I am trying to get the value of Tilt bounding the key "Move" with the function Move





                        But in function Move I am getting only zeros.

                        Any Idea How can recieve the correct of Tilt?


                        Thanks!! and sorry for myEnglish.
                        Attached Files

                        Comment


                          #13
                          Hi Gustavo,

                          I'm learning to use Windywang's plugin as well so I can do VR development without a kit.

                          Using Windywang's example, I was able to get Tilt values. Here are some screenshots I hope will make it clear.

                          Click image for larger version

Name:	Tilt.PNG
Views:	1
Size:	213.3 KB
ID:	1101168

                          The Tilt event comes from Input -> Motion Event, or you can log the values with Input - Motion Values.

                          Click image for larger version

Name:	input motion values.PNG
Views:	1
Size:	25.1 KB
ID:	1101170

                          Before this will work, we have to enable the Wiimote features. I am not sure if the character creation section is the best place, maybe Level Blueprint would be better?

                          Click image for larger version

Name:	Enable Features.PNG
Views:	1
Size:	49.9 KB
ID:	1101169

                          I hope this is useful. This worked on 4.11. Good luck!

                          Thank you Windywang for creating this plugin!

                          Comment


                            #14
                            My turn to ask a question.

                            It looks like there is IR and nunchuk data being logged in UE Log, but I am unable to find these values through any functions. I found where they get sent to the log, but it looks like they need to get passed to an event handler to become useful.

                            Click image for larger version

Name:	IR nunchuk data.PNG
Views:	1
Size:	65.3 KB
ID:	1101242

                            Does anyone have any advice on how I should go about exposing these values? I was thinking I could add them in as extra buttons (float axis) on the Wiimote, but as I am a novice of this engine I'm not sure if that is the right approach to take. The other motion values from the wiimote itself are already sent through here.

                            Any advice would be most welcome. Thanks!

                            Comment


                              #15
                              Hey Go_Go,

                              Thanks for these posts, they've been helpful.

                              I've managed to compile 10.4 with the plug-in set up. In plug-ins, I can see Wiimote and enable it. I also recreated your construction script in the BP for the 1st person player.

                              Not getting any readings from the Wiimote (I'm using an original with nunchuk, it's paired, first light off, next 3 on, windows is definitely seeing it).

                              Essentially, I'm really only interested in the nunchuk (doing a project with Occulus DK2 and a Kinect 2 for Windows). I want to use the nunchuk analog stick to control movement and the Z and C buttons for fire / interaction.

                              Have you made any headway?

                              Thanks!

                              ff.

                              Comment

                              Working...
                              X