01-02-2025, 10:41 PM -
Hey, not to bring back my own dead post too hard, but I solved this issue personally with a fork of RPCS3:
It works cross-platform and on any controller. The underlying logic is in `rpcs3/Input/pad_thread.cpp` at line 538:
```
for (u32 i = 0; i < connected_devices; i++)
{
const auto& pad = m_pads[i];
pad->m_sensors[0].m_value = (512 + (pad->m_sticks[0].m_value - 127.5f));
pad->m_sensors[1].m_value = (399 + (pad->m_sticks[1].m_value - 127.5f) * 2);
}
```
This is a very hacky solution which just writes to the sixaxis X and Y to the left stick X and Y and adjusts the values to translate semi accurately. You can pretty easily tinker with it to get more particular values, change the inputs, change the axes, etc. if you'd like.
If there is enough interest then maybe I will make a more "real" implementation. But, for now, if you want to play with my fork, you have to compile it. There are many pre-requisite software you need to build RPCS3 but after it's built you can remove the build dependencies.
Here's a link to the repository: https://github.com/luphoria/rpcs3/tree/joystick-rebind
Basically:
- git clone https://github.com/luphoria/rpcs3
- cd rpcs3
- git checkout joystick-rebind
- and then build it. Follow the instructions here: https://github.com/luphoria/rpcs3/blob/j...UILDING.md
I noticed the unlisted video I posted earlier in the thread was gaining some traction so I figured I would share.
T
It works cross-platform and on any controller. The underlying logic is in `rpcs3/Input/pad_thread.cpp` at line 538:
```
for (u32 i = 0; i < connected_devices; i++)
{
const auto& pad = m_pads[i];
pad->m_sensors[0].m_value = (512 + (pad->m_sticks[0].m_value - 127.5f));
pad->m_sensors[1].m_value = (399 + (pad->m_sticks[1].m_value - 127.5f) * 2);
}
```
This is a very hacky solution which just writes to the sixaxis X and Y to the left stick X and Y and adjusts the values to translate semi accurately. You can pretty easily tinker with it to get more particular values, change the inputs, change the axes, etc. if you'd like.
If there is enough interest then maybe I will make a more "real" implementation. But, for now, if you want to play with my fork, you have to compile it. There are many pre-requisite software you need to build RPCS3 but after it's built you can remove the build dependencies.
Here's a link to the repository: https://github.com/luphoria/rpcs3/tree/joystick-rebind
Basically:
- git clone https://github.com/luphoria/rpcs3
- cd rpcs3
- git checkout joystick-rebind
- and then build it. Follow the instructions here: https://github.com/luphoria/rpcs3/blob/j...UILDING.md
I noticed the unlisted video I posted earlier in the thread was gaining some traction so I figured I would share.
T
This post was last modified: 01-02-2025, 10:50 PM by luphoria.
Edit Reason: typo