xyzz / vita-moonlight

NVIDIA Gamestream client for PlayStation Vita, based on moonlight-embedded
GNU General Public License v3.0
629 stars 74 forks source link

Multiple key assignments for L2/R2 not being able to bind to upper/lower L/R side back panel #237

Open bigmfinoof opened 1 year ago

bigmfinoof commented 1 year ago

I tried making the entire back left and right sides of the touchpad into L2 and R2 respectively but have failed so far. Here's what I've done till now:

Pasted the vita.conf file into data/moonlight/mappings/ Edited it to remove LS and RS input from the bottom L/R sides of the back touchpad by removing the keycodes and putting in:

#LS
btn_tl2 = false
#RS
btn_tr2 = false

and so far I've tried adding in the following:

#LT
btn_tl = 500001
btn_tl = 500004
#RT
btn_tr = 500002
btn_tr = 500008

but this just ended up making the btn_tl and btn_tr respond to the 2nd keycode in the sequence. What should I do so that btn_tl and btn_tr respond to both the pairs of keycodes 500001, 500004 and 500002, 500008 respectively, which are the upper and lower L/R sides of the back touch panel.

rhobiusvoid commented 1 year ago

A solution (if rather strange) is just to play with the offsets to make both sides of the back touch just one giant side for the lower (or upper) sides of the back touchscreen, but this limits you to only having two touch spots. I personally use these for L3 and R3, while I use L2 and R2 on the front touch screen, with Pause Stream and Guide also being on the front.