WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Controller api ? Lua, function, props ? (https://www.wowinterface.com/forums/showthread.php?t=58296)

Sideshow 10-16-20 03:00 AM

Controller api ? Lua, function, props ?
 
Hello

I would like to fiddle around with the new controller support. Is there any documentation at all? :eek:

My goal right now is to show some different things with weak auras, whenever the first modifier button (left shoulder button) is pressed.

Sideshow 11-10-20 09:18 AM

Maybe to help others, left shoulder buttons are just shift/control buttons to the game.
So you can work with:

IsShiftKeyDown()
IsControlKeyDown()

Fizzlemizz 11-10-20 09:35 AM

in-game
Code:

/api C_GamePad
and click the pink link

or, you can export the UI and view the documentation in
Code:

BlizzardInterfaceCode\Interface\AddOns\Blizzard_APIDocumentation\GamePadDocumentation.lua


All times are GMT -6. The time now is 05:39 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI