Giter Club home page Giter Club logo

vitacontrol's People

Contributors

caleb39411 avatar hydr8gon avatar lemon-2333 avatar ticky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

vitacontrol's Issues

Error trying to building it locally on 'mingw64 shell (Windows)': error: invalid conversion from 'uintptr_t' {aka 'unsigned int'} to 'const void*' [-fpermissive]

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

Microsoft Xbox One Controller

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?

Could I help trying to get the iPega-SW025 (Nintendo Switch Pro) controller working? or could you help me to make changes on my end pls?

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

  • bluetooth Android controller
  • bluetooth Nintendo Switch Pro controller

I tried this plugin in those 2 statuses and I get the following:

  • Android mode:
    • connected - static red light (as expected)
    • but neither buttons nor sticks respond
  • Switch Pro mode:
    • connected in UI - although the red light keeps on blinking constantly
    • neither buttons nor sticks respond either

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.

Back Touch Pad

Im using a dual sense and i am wondering how to use the back touch pad for games like God of war

Can't download build

Maybe I just don't know how any of this works but the build seems to have expired.

User experience [Note 1]

  • DualShock 3 - Does not work; [MAC Adress + 0x1 [HEX], Example - "XX:XX:XX:XX:XX:7C" + 1 = ...":7D"]
    Four "lights" are on the controller, after 6 ~ 7 seconds the "lights" stop "burning" - controller not connected
  • GameSir T4 Pro ["Nintendo Switch Mode"] (Buttons "Y + HOME") - Works;
    In "Nintendo Switch Mode", pressing the buttons, the screen goes into "sleep mode"

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

IMG_20210911_025718

Screen will dim during gameplay with a 3rd party controller

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.

Switch Pro Controller not working

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

Dual Sense controller not working

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?

diagonal on analog doesn't register correctly on dualsense?

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.

Add support for 8bitdo controllers

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.

DualSense + DualShock 4 controllers aren't working for me..

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?

Potential to support Hori PS4 controllers?

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.


Request:

Would it be possible to add support for the wireless Hori PS4-133(A), officially licensed PS4 controller?


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.


Testing:

I've attempted connection using all of usual DS4 controller plugins, which is how I found yours, and the results are always the same.

  • The controller is easily recognized and can be connected to via Settings>Devices>Bluetooth Devices
  • The controllers name entry is HORI Wireless Controller Light
  • The controller will connect but no commands sent from the controller are recognized at all.
  • Tested on my PC and it works fine.
  • FW is up to date per: "Wireless Controller Light for PlayStation®4" firmware update notice

Conclusion:

  • I feel like this would be the perfect companion controller for the Vita if it's possible to get it supported.
  • I don't care much about the touch pad functionality, if that makes it any simpler.
  • I only have one of these controllers available, but I'm willing to do any amount of leg work to help out.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.