Thread Tools Display Modes
11/05/15, 11:02 PM   #1
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
Gamepad hints for devs with their keyboards

Hello there,

As I'm having Gamepad requests, I'm front of a new problem !

Navigation

Last request is to adapt Lorebook/Skyshard to Gamepad. Okay, so I've wrote the code, it ~works, but I got others problems, with answers which may help everyone here :


So first, consider : I don't have controller - I never played to ESO with controller and I will never do.


That's not my fault, Answers must respond to a global demand, not my specific ones.



  1. How to move the map ? I guess you use your controller. Which key ? Are there other keys ?
  2. How navigate between tooltips on map ? Which key ? Are there other keys ?
  3. How navigate champion stars on constellation ? Which key ? Are there other keys ?
  4. How to scroll ? In some Menus we must use the "R" button on gamepad.


That's all for now.

@Everyone : Feel free to answser if you know it.
@Devs : I'm looking to write an addon which redirect gamepad keys to keyboard ones.
-> http://wiki.esoui.com/Globals#KeyCode



XBOX :




PS4 :


Last edited by Ayantir : 11/05/15 at 11:07 PM.
  Reply With Quote
11/06/15, 12:03 AM   #2
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
I think I got everything.

If I made mistakes, please leave a comment :

Remarks :

In Keyboard, we must hold shift to sprint, in gamepad, is this needed or do you only need to push the sticker then move ? (and repush to run slowler again ?).

I don't know what is touchpad buttons. maybe there is a gamepad with touchpad ?





KEY_GAMEPAD_BACK = Map
KEY_GAMEPAD_BACK_HOLD = Mount

KEY_GAMEPAD_BOTH_BUTTON_1_BUTTON_4
KEY_GAMEPAD_BOTH_BUTTON_2_BUTTON_3
KEY_GAMEPAD_BOTH_BUTTON_2_BUTTON_4
KEY_GAMEPAD_BOTH_LEFT_SHOULDER_BUTTON_1
KEY_GAMEPAD_BOTH_LEFT_SHOULDER_BUTTON_2
KEY_GAMEPAD_BOTH_LEFT_SHOULDER_BUTTON_3
KEY_GAMEPAD_BOTH_LEFT_SHOULDER_BUTTON_4
KEY_GAMEPAD_BOTH_LEFT_SHOULDER_DPAD_LEFT
KEY_GAMEPAD_BOTH_LEFT_SHOULDER_LEFT_STICK
KEY_GAMEPAD_BOTH_LEFT_SHOULDER_RIGHT_STICK
KEY_GAMEPAD_BOTH_LEFT_TRIGGER_BUTTON_1 = Roll Dodge
KEY_GAMEPAD_BOTH_RIGHT_SHOULDER_BUTTON_1
KEY_GAMEPAD_BOTH_RIGHT_SHOULDER_BUTTON_2
KEY_GAMEPAD_BOTH_RIGHT_SHOULDER_BUTTON_3
KEY_GAMEPAD_BOTH_RIGHT_SHOULDER_BUTTON_4
KEY_GAMEPAD_BOTH_SHOULDERS = Ultimate
KEY_GAMEPAD_BOTH_STICKS = Synergy
KEY_GAMEPAD_BOTH_TRIGGERS = Interrupt
KEY_GAMEPAD_BUTTON_1 = A button / Main interaction / Jump
KEY_GAMEPAD_BUTTON_1_HOLD
KEY_GAMEPAD_BUTTON_2 = B Button / Ability 3
KEY_GAMEPAD_BUTTON_2_HOLD
KEY_GAMEPAD_BUTTON_3 = X Button / Ability 1 / Exit button
KEY_GAMEPAD_BUTTON_3_HOLD
KEY_GAMEPAD_BUTTON_4 = Y Button / Ability 2 /
KEY_GAMEPAD_BUTTON_4_HOLD
KEY_GAMEPAD_DPAD_DOWN = 1st/3rd person view
KEY_GAMEPAD_DPAD_DOWN_HOLD
KEY_GAMEPAD_DPAD_LEFT = Weapon Swap
KEY_GAMEPAD_DPAD_LEFT_HOLD
KEY_GAMEPAD_DPAD_RIGHT = Cycle Quests
KEY_GAMEPAD_DPAD_RIGHT_HOLD
KEY_GAMEPAD_DPAD_UP = Quickslots
KEY_GAMEPAD_DPAD_UP_HOLD
KEY_GAMEPAD_LEFT_SHOULDER = Ability 4
KEY_GAMEPAD_LEFT_SHOULDER_HOLD
KEY_GAMEPAD_LEFT_STICK = Crouch
KEY_GAMEPAD_LEFT_STICK_HOLD
KEY_GAMEPAD_LEFT_TRIGGER
KEY_GAMEPAD_LEFT_TRIGGER_HOLD
KEY_GAMEPAD_LSTICK_DOWN = Backward
KEY_GAMEPAD_LSTICK_LEFT = Move Left
KEY_GAMEPAD_LSTICK_RIGHT = Move Right
KEY_GAMEPAD_LSTICK_UP = Forward

KEY_GAMEPAD_RIGHT_SHOULDER = Ability 5
KEY_GAMEPAD_RIGHT_SHOULDER_HOLD
KEY_GAMEPAD_RIGHT_STICK = Sprint
KEY_GAMEPAD_RIGHT_STICK_HOLD
KEY_GAMEPAD_RIGHT_TRIGGER = Block
KEY_GAMEPAD_RIGHT_TRIGGER_HOLD
KEY_GAMEPAD_RSTICK_DOWN
KEY_GAMEPAD_RSTICK_LEFT
KEY_GAMEPAD_RSTICK_RIGHT
KEY_GAMEPAD_RSTICK_UP
KEY_GAMEPAD_START = Menu
KEY_GAMEPAD_START_HOLD
KEY_GAMEPAD_TOUCHPAD_HOLD
KEY_GAMEPAD_TOUCHPAD_PRESSED
KEY_GAMEPAD_TOUCHPAD_SWIPE_DOWN
KEY_GAMEPAD_TOUCHPAD_SWIPE_LEFT
KEY_GAMEPAD_TOUCHPAD_SWIPE_RIGHT
KEY_GAMEPAD_TOUCHPAD_SWIPE_UP
KEY_GAMEPAD_TOUCHPAD_TOUCHED
  Reply With Quote
11/06/15, 05:27 AM   #3
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,578
I haven't tried it myself yet, but wouldn't it be easier (and more accurate) to use an emulator for the gamepad inputs?
5 minutes of googling gave me this.
  Reply With Quote
11/06/15, 07:32 AM   #4
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
I searched a bit but it was sooo late. thank you.

KEY_GAMEPAD_RIGHT_TRIGGER and KEY_GAMEPAD_LEFT_TRIGGER need to be swapped to their appropriate triggers. You currently have RIGHT_TRIGGER for the Left Trigger and LEFT_TRIGGER for the Right Trigger in the image.
Oops I'll change it.

Synergy used to be set as pressing down on both sticks (I personally thought this was better). It is now Y+B/Triangle+Circle. It should be KEY_GAMEPAD_BUTTON_2_BUTTON_4. There are other controller templates, or setups, to choose from that might have it laid out this way, but it's no longer the default.
Thanks, I don't really read gamepad patch notes.
  Reply With Quote
11/06/15, 08:25 AM   #5
Wandamey
Guest
Posts: n/a
What the hell are you all talking about?

  Reply With Quote
11/06/15, 08:47 AM   #6
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
That's absolutly hardcore to test something without the input device.. I'll finish to buy a 9€ controller and ..
  Reply With Quote
11/06/15, 08:49 AM   #7
Wandamey
Guest
Posts: n/a
Originally Posted by Ayantir View Post
That's absolutly hardcore to test something without the input device.. I'll finish to buy a 9€ controller and ..
j'ai celui de ma Freebox, mais le driver standard de Windows ne suffit pas. faut tout remapper aussi. Garde tes 9€.

en plus y'a des correspondances clavier:

Keyboard equivalents :

for UI menus
Keyboard : <-> Pad (xbox standard Eso)
E ("select") : <-> A pad
X : ("back") : <-> B pad -- this one seems to work with keyboard B too ? but not always.
F : ("action" as context menu) : <-> Y pad

Ok, tried Y to stack all, didn't work then tried almost every key... didn't find it. so remap needed for any chosen method in the end.
No even sure if non standard key will go through with what you did find yesterday about scenes/keybinds.

and i love how my keyboard roll dodge required a gamepad when i first logged on with that char. :s


Edit : gonna test this : http://blog.designs.codes/run-generi...er-windows-pc/ with a preset Philips generic pad and it should be good for the Freebox pad.
mmmpf. the game dont even acknowledge that it's plugged in. great.
erff. I extracted the emulator in live folder and launched pts. my bad. try again aaaannnd .... (ok i'm back tonight when it's loaded)


LOOOOOL now it's working. And guess what. Now I have the equivalent Keyboard keybinds textures instead of the xpad ones. Wait for the screenshot...


and of course now the gamepad buttons don't work except up/down and maybe restack but i haven't split anything yet. Edit : restack working. my pad is well mapped. Not trying destroy to confirm though

I suppose Eso should make the difference between xbox/playstation/keyboard in gamepad mode through the available plugged hardware then, but just don't do it. or very badly.

Last edited by Wandamey : 11/06/15 at 10:44 AM.
  Reply With Quote
11/06/15, 12:17 PM   #8
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
I've tried to use vJoy without success..
and there is 2 vJoy which is confusing a lot. tried both, the open source one looks more dev oriented, i only need an emulator for gamer
  Reply With Quote
11/06/15, 02:45 PM   #9
Wandamey
Guest
Posts: n/a
A little update on my failed try at a generic gamepad :

I got the "normal" A B Y X buttons appearing in HUD mode, with the pad working*, and the Keyboard buttons in HUDUI mode(s) (plural because each scene seem to have its own settings now) with only the keyboard working on them.

I didn't modify anything yet (related to keybinds and scenes).

*my toon doesn't agree, but it just me sucking with my 2 arms attached.

Edit : after several reloadui / game restart I'm seing the xpad buttons in the menus again and they work with the pad. I have No idea of what is triggerring this except maybe i did unload a cross-account keybinder addon. (have to test this hypothesis)
Whatever the axis i choose for the right stick, horizontal and vertical keep being mixed up...


Lol rien à voir mais je vais crever de rire... pub pour ma superette de centre ville en zone pietonne où y'a même pas de caddies dedans : demain : 4 packs de Volvic pour le prix de 2!! ... 36kg dans mon sac à main pour en profiter. J'en chiale des Lorkhan tears.

Last edited by Wandamey : 11/06/15 at 04:09 PM.
  Reply With Quote
11/06/15, 07:09 PM   #10
Wandamey
Guest
Posts: n/a
Originally Posted by Tierney11290 View Post
uhhh what?
mmmh? erf nothing... I was just wondering about that gamepad fashion
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Gamepad hints for devs with their keyboards


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off