Shanwan Ps3 Controller Clone under linux
Started by dariocdj




5 posts in this topic
dariocdj
Member


0
8 posts 3 threads Joined: Nov 2019
01-17-2020, 05:33 PM -
#1
Hi folks, 
I've a couple of Shanwan Ps3 Controller clone under linux. In bluetooth it was recognized as PS3Controller in rpcs3. It works but when i try to customize buttons i see that it was badly assigned. Default config doesn't work for buttons (only for pads). 
Tried to customize with a,b,x,y combination, Square, Circle, Triangle, Cross combination, no way.

So opening evtest and selecting correct device, buttons respond to :

300 triangle
301 Circle
302 Cross
303 Square

EDIT : square button respond to DEAD so it works
EDIT : if i press cross or otcircle or triangle error is : evdev: Evdev button (NULLSTR) (302) is unknown. Please add it to the button list.

How i can map in yml file? 
Thanks a lot
Dario
This post was last modified: 03-11-2020, 02:06 PM by dariocdj.
dariocdj
Member


0
8 posts 3 threads Joined: Nov 2019
02-17-2020, 07:18 AM -
#2
If i try to make a custom mapping yml and i put 

Cross: 302
Circle: 301
Triangle: 300
It doesn't work.

Please someone can help me ?
thanks
Dario

If i try to map via rpcs3 it give me : 
square : dead
cross : ry-
triangle : ry - 
Circle : ry- 

What can i do ?
Dario
This post was last modified: 02-17-2020, 07:24 AM by dariocdj.
dariocdj
Member


0
8 posts 3 threads Joined: Nov 2019
03-04-2020, 03:37 PM -
#3
Exactely rpcs3 tell me evdev button unknow (301) please add it to button list ! Please, where is button list ???
ehabtanta
Member


0
5 posts 1 threads Joined: Mar 2020
03-04-2020, 08:02 PM -
#4
can you plz tell me where is the config yml file
iam using the appimage in ubunto and cant find the file
dariocdj
Member


0
8 posts 3 threads Joined: Nov 2019
03-08-2020, 01:48 PM -
#5
(03-04-2020, 08:02 PM)ehabtanta Wrote: can you plz tell me where is the config yml file
iam using the appimage in ubunto and cant find the file

Under .config/rpcs3
dariocdj
Member


0
8 posts 3 threads Joined: Nov 2019
03-11-2020, 08:39 AM -
#6
Please no one can help me? It's lot of time that i need to solve this issue for my children...
Thanks
Dario

evdev: Evdev button (NULLSTR) (302) is unknown. Please add it to the button list.

Where is button_list ?

case EV_KEY:
{
m_is_button_or_trigger = true;

// get the button value and return its code
if (button_list.find(code) == button_list.end())
{
evdev_log.error("Evdev button %s (%d) is unknown. Please add it to the button list.", libevdev_event_code_get_name(EV_KEY, code), code);
return -1;
}

value = val > 0 ? 255 : 0;
return code;
}
This post was last modified: 03-11-2020, 02:15 PM by dariocdj.


Forum Jump:


Users browsing this thread: 4 Guest(s)