Thread Tools Display Modes
Prev Previous Post   Next Post Next
07/12/15, 06:53 AM   #1
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,589
React to mousewheel while key is pressed

I am looking for a way to cycle through a list with the mouse wheel while holding a key.
All I managed to do right now is zoom the camera...
I wonder if this is even possible without using some hack like placing a Textfield over the whole screen?

Lua Code:
  1. local function StartAction()
  2.   SetGameCameraUIMode(true)
  3.   GuiRoot:SetHandler("OnMouseWheel", function(control, delta, ctrl, alt, shift, command)
  4.     d("wheel")
  5.   end)
  6. end
  7. local function EndAction()
  8.   SetGameCameraUIMode(false)
  9.   GuiRoot:SetHandler("OnMouseWheel", nil)
  10. end
  Reply With Quote
 

ESOUI » Developer Discussions » General Authoring Discussion » React to mousewheel while key is pressed


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