hydr8gon / vitacontrol Goto Github PK
View Code? Open in Web Editor NEWUse bluetooth controllers on your Vita!
Use bluetooth controllers on your Vita!
Hi,
I was trying to build the project locally as well to see if I could progress the previous issue but after installing all required tools without error, when I run the make
command it fails to build and throws the following errors, do you know why this could be and how we could fix it? Thanks.
$ cmake ..
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 2.8.12 will be removed from a future version of
CMake.
Update the VERSION argument <min> value or use a ...<max> suffix to tell
CMake that the project does not need compatibility with older versions.
-- The C compiler identification is GNU 10.3.0
-- The CXX compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/local/vitasdk/bin/arm-vita-eabi-gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/local/vitasdk/bin/arm-vita-eabi-g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /c/VITA_development_plugins/VitaControl/build
Then:
$ make
[ 10%] Building CXX object CMakeFiles/vitacontrol.dir/src/main.cpp.obj
In file included from c:\msys64\usr\local\vitasdk\arm-vita-eabi\include\psp2kern\kernel\sysmem.h:14,
from C:/VITA_development_plugins/VitaControl/src/mempool.h:4,
from C:/VITA_development_plugins/VitaControl/src/main.cpp:11:
C:/VITA_development_plugins/VitaControl/src/main.cpp: In function 'int sceCtrlGetBatteryInfoHookFunc(int, uint8_t*)':
C:/VITA_development_plugins/VitaControl/src/main.cpp:103:45: error: invalid conversion from 'uintptr_t' {aka 'unsigned int'} to 'const void*' [-fpermissive]
103 | ksceKernelMemcpyUserToKernel(&data, (uintptr_t)batt, sizeof(uint8_t));
| ^
| |
| uintptr_t {aka unsigned int}
c:\msys64\usr\local\vitasdk\arm-vita-eabi\include\psp2kern\kernel\sysmem\data_transfers.h:39:53: note: initializing argument 2 of 'int ksceKernelMemcpyFromUser(void*, const void*, SceSize)'
39 | int ksceKernelMemcpyFromUser(void *dst, const void *src, SceSize len);
| ~~~~~~~~~~~~^~~
C:/VITA_development_plugins/VitaControl/src/main.cpp:105:38: error: invalid conversion from 'uintptr_t' {aka 'unsigned int'} to 'void*' [-fpermissive]
105 | ksceKernelMemcpyKernelToUser((uintptr_t)batt, &data, sizeof(uint8_t));
| ^
| |
| uintptr_t {aka unsigned int}
c:\msys64\usr\local\vitasdk\arm-vita-eabi\include\psp2kern\kernel\sysmem\data_transfers.h:69:34: note: initializing argument 1 of 'int ksceKernelMemcpyToUser(void*, const void*, SceSize)'
69 | int ksceKernelMemcpyToUser(void *dst, const void *src, SceSize len);
| ~~~~~~^~~
C:/VITA_development_plugins/VitaControl/src/main.cpp: In function 'int sceMotionGetStateHookFunc(SceMotionState*)':
C:/VITA_development_plugins/VitaControl/src/main.cpp:222:45: error: invalid conversion from 'uintptr_t' {aka 'unsigned int'} to 'const void*' [-fpermissive]
222 | ksceKernelMemcpyUserToKernel(&data, (uintptr_t)state, sizeof(SceMotionState));
| ^
| |
| uintptr_t {aka unsigned int}
c:\msys64\usr\local\vitasdk\arm-vita-eabi\include\psp2kern\kernel\sysmem\data_transfers.h:39:53: note: initializing argument 2 of 'int ksceKernelMemcpyFromUser(void*, const void*, SceSize)'
39 | int ksceKernelMemcpyFromUser(void *dst, const void *src, SceSize len);
| ~~~~~~~~~~~~^~~
C:/VITA_development_plugins/VitaControl/src/main.cpp:229:38: error: invalid conversion from 'uintptr_t' {aka 'unsigned int'} to 'void*' [-fpermissive]
229 | ksceKernelMemcpyKernelToUser((uintptr_t)state, &data, sizeof(SceMotionState));
| ^
| |
| uintptr_t {aka unsigned int}
c:\msys64\usr\local\vitasdk\arm-vita-eabi\include\psp2kern\kernel\sysmem\data_transfers.h:69:34: note: initializing argument 1 of 'int ksceKernelMemcpyToUser(void*, const void*, SceSize)'
69 | int ksceKernelMemcpyToUser(void *dst, const void *src, SceSize len);
| ~~~~~~^~~
make[2]: *** [CMakeFiles/vitacontrol.dir/build.make:76: CMakeFiles/vitacontrol.dir/src/main.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/vitacontrol.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
I have 2 controllers from xbox one. and I can’t get them to work at the same time in adrenaline games PS1. They work separately. They are both connected in the bluetooth settings. There is a game from the PS Vita Metal Slug 3 library, it supports local multiplayer, but this game also does not see 2 controllers. How can I overcome this problem?
Hello,
Awesome plugin, I almost got it working with this iPega-SW025
controller, which can act as either:
http://ipega.hk/switchseries/75-377.html
I tried this plugin in those 2 statuses and I get the following:
As I get the green
connected status in both cases, it seems we're almost there having this controller working too.
Do you guys, @Hydr8gon @Lemon-2333 , know what the issue could be?
Could you pls help me out trying to understand what I could do from my end to have this working?
I could provide you with anything you need from my end to help troubleshooting the problem if you could help, or if you know of any local changes I could try on my side and try a new plugin after your suggested changes, I could give that a go as well.
Really willing to have this working for so long!!!
Thank you guys.
Im using a dual sense and i am wondering how to use the back touch pad for games like God of war
Maybe I just don't know how any of this works but the build seems to have expired.
In the instructions, it tells you to put ur0:tai/, yet it should be ur0:/tai/. With a / after ur0:. Although I can justify that I am dumb, this is a widely common mistake.
DualShock 3
- Does not work; [MAC Adress + 0x1 [HEX], Example - "XX:XX:XX:XX:XX:7C" + 1 = ...":7D"]GameSir T4 Pro
["Nintendo Switch Mode"] (Buttons "Y + HOME") - Works;If, after connecting/disconnecting as a "Nintendo Switch Pro Controller", the control does not work - reboot the console, turn on bluetooth, turn on the controller - the control and controller works
I've got two issues, one of them is kinda annoying.
Controller in question is the GameSir T4 PRO. It's working but it required a tweak right after pairing it with my OG PHAT Vita 1000.
Regardless of which Standby mode option I choose (from Power Save settings) the display will dim during gameplay, meaning that even though I'm using my 3rd party controller, to the OS, the Vita is doing nothing. I try pausing the game once that happens, and press the "ps button" on my controller. Sometimes this works but mostly it won't.
Another issue is this: all of my controller buttons are recognized and properly assigned to the Vita, as expected.
Pressing pause pauses the game, and the ps button gets me out of the game. Curiously, holding the ps button down and pressing start won't screenshot.
Out of context but worth pointing out: To my surprise L and R do their job while switching apps, but once I'm playing NFS: Most Wanted, then L2 and R2 are used to brake and throttle, respectively. I'm not sure why that is and as far as I've checked I'm not running any plugin that makes my Vita behave like a PSTV, but I love that that's just how it is by default! Now we just need to make the screen not dim while gaming on a 3rd party controller and we'll be gold.
hi team, i have a psp 1000 vita, and seems after install of the plug in, the pro controller connects the vita via bluetooth but only the Home button works, no other buttons work, if someone is able to walk me through the steps of what i can do to solve this would be good. I have attempted to follow the instruction previously advised by others in the other chat and it doesnt work. Looking forward to a reply with a solution
I've been trying to get my PS5 Dual Sense controllers to connect through this plugin to no avail. My controllers are recognised during pairing and labelled Wireless Controller. After pairing, the vita does not recognise any inputs. Or more specifically it very seldomly does recognise some random inputs.
I disabled some other plugins to check if they interfere, but that did not help. Also pairing and using a DualShock4 controller did work without any problems.
I notice that this plugin has been updated last time in May, since then there have been at least two firmware updates for the Dual Sense. Is it possible that one of these firmware updates messed with the compatibility of the controllers with the plugin?
tested on Muramasa Rebirth.
in the tutorial section, it requires you to crouch (press down) then shift towards left or right to dodge roll but it doesn't seem to work.
connected a dualshock 3 to verify, but it works correctly with DS3.
Is there any way to add switch joycon support?
Friend is not a problem, I just wanted to know if you can make a plugin for the xbox 360 USB control for the Vita TV.
Hi, does this plugin support using the ds4 and dualsense touchpad as a touchscreen?
I'm using a switch pro controller, when I test with VitaTester the analog sticks on the controller only go to 30-40 (out of 0-255), while the analog sticks on the vita work on the full range.
This plugin works very well with 8bitdo pro using the switch mode, but I was wondering if it could be added with x imput mode compatibility or 8bitdo compatibility.
Hello,
I have done the steps, I put it in the tai folder under ux0. I don't know if it's maybe cause I downloaded someone else's config file (because I didn't find one already in the tai folder.)
When I go to settings and to devices to connect them via bluetooth, I get the "Could not find a profile supported by this system" error.
Has anyone had this problem, or is it just me?
Disclaimer: I'm not a dev so I have no idea what the level of effort is for adding support for additional controllers, so feel free to ELI5 and tell me no.
Would it be possible to add support for the wireless Hori PS4-133(A), officially licensed PS4 controller?
Hori made two versions of this controller; wired and wireless. The wireless version was only available in the Japanese market.
The controllers lack a traditional touch pad, but instead have a "touch pad" button and a "touch pad mode" button. Details on how it operates are available in the manual links provided above.
Equipped with touch pad button / touch pad mode button
It is possible to simulate the touchpad/touchpad button of the wireless controller (DUALSHOCK®4).
The controllers also lack multiple functions present in Sony DS4 controllers like vibration, motion sensing, headphone jacks or speakers.
*This product does not have a vibration function, motion sensor function, stereo headphone/microphone terminal, or speaker.
I'm unsure if less features would mean less work, or just more complications.
I've attempted connection using all of usual DS4 controller plugins, which is how I found yours, and the results are always the same.
HORI Wireless Controller Light
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.