Quantcast
Controller api ? Lua, function, props ? - WoWInterface
Thread Tools Display Modes
10-16-20, 03:00 AM   #1
Sideshow
A Flamescale Wyrmkin
 
Sideshow's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 103
Controller api ? Lua, function, props ?

Hello

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

My goal right now is to show some different things with weak auras, whenever the first modifier button (left shoulder button) is pressed.
  Reply With Quote
11-10-20, 09:18 AM   #2
Sideshow
A Flamescale Wyrmkin
 
Sideshow's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2010
Posts: 103
Maybe to help others, left shoulder buttons are just shift/control buttons to the game.
So you can work with:

IsShiftKeyDown()
IsControlKeyDown()
  Reply With Quote
11-10-20, 09:35 AM   #3
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,306
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
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 11-10-20 at 11:00 AM.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Controller api ? Lua, function, props ?

Thread Tools
Display Modes

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