Results 1 to 9 of 9

Topic: [PS4 Controller] Apply touchpad swipes to a button

  1. #1
    GOLD NOVA III

    User Info Menu

    [PS4 Controller] Apply touchpad swipes to a button

    This for the PS4 Controller with CronusMAX Plus FW 1.24

    I'm trying to get the the effect of swiping the touchpad up, down, left, right (separately) by pressing a button for each direction.


    Input
    - Press X

    Output - Swipes DOWN on the touchpad


    ----
    Separate
    ----


    Input - Press Circle

    Output - Swipes RIGHT on the touchpad


    ----
    Separate
    ----


    Input - Press Triangle

    Output - Swipes UP on the touchpad

    ----
    Separate
    ----

    Input - Press Square

    Output - Swipes Left on the touchpad



    I'm trying to play Ghost of Tsushima but I cannot physically use the touchpad and there are 4 key actions mapped to the touchpad swipes.

    Any help on this would be amazing.

    Thanks

  2. #2
    SILVER III

    User Info Menu

    Re: [PS4 Controller] Apply touchpad swipes to a button

    Quote Originally Posted by fathead2k View Post
    This for the PS4 Controller with CronusMAX Plus FW 1.24

    I'm trying to get the the effect of swiping the touchpad up, down, left, right (separately) by pressing a button for each direction.


    Input
    - Press X

    Output - Swipes DOWN on the touchpad


    ----
    Separate
    ----


    Input - Press Circle

    Output - Swipes RIGHT on the touchpad


    ----
    Separate
    ----


    Input - Press Triangle

    Output - Swipes UP on the touchpad

    ----
    Separate
    ----

    Input - Press Square

    Output - Swipes Left on the touchpad



    I'm trying to play Ghost of Tsushima but I cannot physically use the touchpad and there are 4 key actions mapped to the touchpad swipes.

    Any help on this would be amazing.

    Thanks
    I wrote a script for Ghost of Tsushima, just updated it today and it should work. Give it a shot, maybe it works for you.

    https://cronusmax.com/gpclib/?s=11064

    Don't have it mapped to the buttons (◯✖▲◼) as you say, but mapped to
    RB + Dpad UP + RS direction.

  3. The Following User Says Thank You to Codestrife For This Useful Post:


  4. #3
    GOLD NOVA III

    User Info Menu

    Re: [PS4 Controller] Apply touchpad swipes to a button

    Oh wow, that's a really great script! Thanks for sharing.

    I'm not really advanced with coding, I just know the basics. How much alteration would it take to make it RT + RS direction? (no + Dpad UP)
    Would it involve reworking the entire script or a simple removal of just Dpad UP in a certain section and swapping RB with RT?

    The reason I ask is because I think the script could work for me but I'm not physically capable of pressing all 3 (RB + Dpad UP + RS direction) at the same time. If if it was something like only RT + RS direction I could do it. (RT is easier for me to reach than RB).

    Please let me know,
    Thanks.

  5. The Following User Says Thank You to fathead2k For This Useful Post:


  6. #4
    SILVER III

    User Info Menu

    Re: [PS4 Controller] Apply touchpad swipes to a button

    Quote Originally Posted by fathead2k View Post
    Oh wow, that's a really great script! Thanks for sharing.

    I'm not really advanced with coding, I just know the basics. How much alteration would it take to make it RT + RS direction? (no + Dpad UP)
    Would it involve reworking the entire script or a simple removal of just Dpad UP in a certain section and swapping RB with RT?

    The reason I ask is because I think the script could work for me but I'm not physically capable of pressing all 3 (RB + Dpad UP + RS direction) at the same time. If if it was something like only RT + RS direction I could do it. (RT is easier for me to reach than RB).

    Please let me know,
    Thanks.
    Hey thanks for the response. I thought it could be done with a bit of tweaking, but there are probably of couple clunky things when doing it this way.
    I've already solved 1 of those, namely if you use RT + RS you'll do gestures while aiming/shooting your bow. I think there's one more where if you're going wild on combat and switching stances while moving the camera it'll do gestures as well. That one I can't prevent with using RT unfortunately.

    I've already spend a few hours to make it work the way you want it, and I've just updated the script to support your style of controls. It'll be in program library soon, but you can also grab it here if you can't wait.
    https://cronusmax.com/gpclib/?s=11071

    Make sure to change
    Code:
    int useRTOnly = FALSE;
    to

    Code:
    int useRTOnly = TRUE;

    Hope this helps!

  7. The Following User Says Thank You to Codestrife For This Useful Post:


  8. #5
    GOLD NOVA III

    User Info Menu

    Re: [PS4 Controller] Apply touchpad swipes to a button

    Oh wow, that's amazing!

    Thank you very much for taking the time to alter the code for me.

    I can't wait to try this later.

    You're awesome!

  9. #6
    SILVER III

    User Info Menu

    Re: [PS4 Controller] Apply touchpad swipes to a button

    Quote Originally Posted by fathead2k View Post
    Oh wow, that's amazing!

    Thank you very much for taking the time to alter the code for me.

    I can't wait to try this later.

    You're awesome!
    All good. Is the script working for you?

  10. The Following User Says Thank You to Codestrife For This Useful Post:


  11. #7
    GOLD NOVA III

    User Info Menu

    Re: [PS4 Controller] Apply touchpad swipes to a button

    Yeah, I got a chance to try it out last night and it worked perfectly.

    Thank you again, I really appreciate all the time and effort that went into this awesome script.

  12. The Following User Says Thank You to fathead2k For This Useful Post:


  13. #8
    SILVER III

    User Info Menu

    Re: [PS4 Controller] Apply touchpad swipes to a button

    Quote Originally Posted by fathead2k View Post
    Yeah, I got a chance to try it out last night and it worked perfectly.

    Thank you again, I really appreciate all the time and effort that went into this awesome script.
    It's got 3 downvotes, so not everybody feels that way .
    I'm very glad to hear it's working for you, I'm glad I could help and you have fun samurai-ing!

  14. The Following User Says Thank You to Codestrife For This Useful Post:


  15. #9
    GOLD NOVA III

    User Info Menu

    Re: [PS4 Controller] Apply touchpad swipes to a button

    I dunno why you got downvoted. It worked perfectly first try for for me.

    Like they say, you can't please everyone.

Similar Topics

  1. Mimic swipes on the touchpad?
    By -XERO- in forum GPC Script Programming Support
    Replies: 0
    Last Post: 28th March 20, 02:49
  2. Replies: 0
    Last Post: 30th November 18, 09:52
  3. Trying to remap PS4 controller TouchPad to PS3 controller Select button
    By DeadSailor42 in forum CronusMAX PLUS Device Support
    Replies: 7
    Last Post: 28th September 18, 22:52
  4. Wii U PS4 touchpad swipes
    By NistauX in forum GPC Script Request
    Replies: 2
    Last Post: 26th July 18, 10:54
  5. Map Xbox One to PS4 Touchpad Swipes
    By boonduckie in forum GPC Script Programming Support
    Replies: 5
    Last Post: 21st November 15, 15:43

Posting Permissions

  • You may not post new topics
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •