ds4vita icon indicating copy to clipboard operation
ds4vita copied to clipboard

L2/R2

Open t1ckk opened this issue 7 years ago • 18 comments

Hi, is it possible to use the ds4 R2/L2 buttons when using moonlight or in dumped games, etc? It says on the latest version 1.1 the plugin adds proper L2/R2 and L3/R3 support but it doesnt seem to be working for me when Im using it. Everything else works just these 4 buttons. Is there a fix for this?

t1ckk avatar May 28 '17 11:05 t1ckk

Ok, I got it to work on adrenaline however on moonlight and ps vita games I'm still unable to use the L2/R2 and L3/R3 buttons.

t1ckk avatar Jun 01 '17 15:06 t1ckk

L2/R2 and L3/R3 are mapped to L2/R2 and L3/R3 and regular PSVita games don't use them.

xerpi avatar Jun 01 '17 15:06 xerpi

Ok, but how about moonlight? I saw people on vitahacks say that L2/R2 should work with moonlight however it doesnt seem to be the case for me.

t1ckk avatar Jun 01 '17 15:06 t1ckk

It's up to moonlight to read L2/R2/R3/L3, I haven't checked its source.

xerpi avatar Jun 01 '17 15:06 xerpi

Oh ok, thanks for the help anyways. Great plugin!

t1ckk avatar Jun 01 '17 15:06 t1ckk

Hello xerpi I love your plugin especially for Minecraft of the vita there is just 1 thing that bugs me I can map L3 R3 L2 but for some reason when I press R2 it acts like I have not pressed any buttons my control works fine tested it on my ps4 call of duty I'm also using enso thank you for updating it can you fix this please so I can use R2 would make this absolutely perfect :)

Teozbernie avatar Aug 25 '17 15:08 Teozbernie

@Teozbernie so L2 works fine but R2 doesn't? And does this only happen with Minecraft or with other games too?

xerpi avatar Aug 27 '17 14:08 xerpi

@xerpi Yes L2 works great and L3 and R3 but unfortunately R2 is not working at all acts like it's not even there I've only really tried Minecraft because it's the only game where I can remap the buttons to anything I choose I would love it if you could fix this issue

Teozbernie avatar Aug 27 '17 14:08 Teozbernie

@xerpi guess you stopped developing for this app no worries I understand hopefully some day someone with more skills than me can fix the issue :)

Teozbernie avatar Sep 06 '17 07:09 Teozbernie

@Teozbernie That's a bit rude assuming he has stopped development. It's probably just not high priority to fix/reply.

parkerlreed avatar Sep 07 '17 22:09 parkerlreed

@parkerlreed @xerpi I actually managed to fix the issue using the source and compiling it but I've made it so x no longer works now haha don't know how I did this hopefully xerpi can fix it one day my bad if I seemed rude was not my intention at all :)

Teozbernie avatar Sep 08 '17 04:09 Teozbernie

@Teozbernie would you mind sharing your changes?

xerpi avatar Sep 08 '17 14:09 xerpi

@xerpi I deleted it but I'll recompile it once I'm back at my PC where should I upload it and can I post the link here? I've worked out a way to use the controller but it's a bit buggy as I use remote play of Minecraft but would really prefer just to play it on the official vita version just let me know where to upload and where to post pal

Teozbernie avatar Sep 08 '17 14:09 Teozbernie

@Teozbernie just paste a diff to gist or pastebin or wherever you want.

xerpi avatar Sep 09 '17 07:09 xerpi

Can someone explain me how I can compile this plugin. What tools does it need?

Sepalod avatar Oct 06 '17 19:10 Sepalod

@Sepalod you need VITASDK: https://vitasdk.org/

xerpi avatar Oct 06 '17 19:10 xerpi

@xerpi Thxs a lot. I tried it out and worked pretty well. I switched my l1/r1 with l2/r2. (SCE_CTRL_L1 ->SCE_CTRL_LTRIGGER and same for R1/2). But it's very strange. For Games like NfS Rivals its working pretty good, because now the mapping for R1/2 L1/2 is the same as shown in the game. Same for example for Battlefield 4. But in Games like Diablo 3 or Mortal KOmbat the Mapping is wrong. Here the buttons are mixed up. For example if r1 is shown in the game, i have to press r2 on the ds4 Its very strage. Therefore I created a new issue to be able to configure the mappings for example in a property file? Maybe I can take a look but my knowledge in C is bounded :)

Sepalod avatar Oct 07 '17 10:10 Sepalod

Hi, got the L2/R2 L3/R3 working with moonlight.

  1. Create "vita.conf" file (content is here https://github.com/xyzz/vita-moonlight/blob/vita/mappings/vita.conf )

  2. Replace the values for LT, RT, LS, RS: btn_tl = 400004 btn_tr = 400005 btn_tl2 = 300002 btn_tr2 = 300004

  3. Save the file

  4. Copy the file to your vita to: ux0:data/moonlight/mappings/vita.conf

  5. Run moonlight and go to "Setings". There set "Enable mapping file" to yes

  6. Run streaming

2ea5y4me avatar Apr 30 '20 16:04 2ea5y4me