Hello There, Guest! Register

Shanwan Ps3 Controller Clone under linux
#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
Reply
#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
Reply
#3
Exactely rpcs3 tell me evdev button unknow (301) please add it to button list ! Please, where is button list ???
Reply
#4
can you plz tell me where is the config yml file
iam using the appimage in ubunto and cant find the file
Reply
#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
Reply
#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;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)