MouselookHandler (Mouse Look)

Lets you set up rules that enable mouselook without holding the right mouse button, and strafe with the mouse buttons instead.

File Details

MouselookHandler-v1.3.7

  • R
  • Jun 24, 2015
  • 170.99 KB
  • 1.3K
  • 6.2.0
  • Retail

File Name

MouselookHandler-v1.3.7.zip

Supported Versions

  • 6.2.0

1.3.7

Updated .toc file.

1.3.5

Updated for patch 6.0.2.

1.3.4

Specified all libraries needed in embeds.xml. We were missing some libraries and the AddOn only worked if we were lucky enough for those to already be loaded.

1.3.3

Mouselook is now stopped when one of the dialogues to cancel movies or in-game cinematics is shown. The code used in 1.3.2 to allow stopping cinematics was removed.

1.3.2

Mouselook is now stopped when an in-game cinematic begins playing. Before it was possible to be unable to stop mouselook while an in-game cinematic was playing, preventing the player from cancelling the cinematic.

1.3

Dropped the changes from 1.2.2a1, added a configuration panel for more customizable mouselook override keybindings and added profile support.

1.2.2a1

Added an option to retain the ability to move forward while pressing left and right mouse buttons simultaneously, while still allowing strafing by pressing only one mouse button.

1.2.1

Updated ToC indicating compatibility to patch 5.4.

1.2

Added an option to automatically force mouselook to be turned off while a spell is awaiting a target (no changes from version 1.2b1).

1.2b1

Added an option to automatically force mouselook to be turned off while a spell is awaiting a target.

1.1

Came across an old forum thread ("Addon, Script, or help needed [MouseLook]", http://us.battle.net/wow/en/forum/topic/4427538772) and improved MouselookHandler so that it can be used to achieve the behavior described there (without the need to click macros after every UI reload).

local movements = {MoveAndSteer = false, MoveBackward = false, MoveForward = false, StrafeLeft = false, StrafeRight = false}

for key, value in pairs(movements) do
  hooksecurefunc(key .. "Start", function() movements[key] = true; MouselookHandler:update() end)
end

for key, value in pairs(movements) do
  hooksecurefunc(key .. "Stop", function() movements[key] = false; MouselookHandler:update() end)
end

function MouselookHandler:predFun(enabled, inverted, clauseText, event, ...)
  for key, value in pairs(movements) do
    if value == true then return true end
  end
  return (enabled and not inverted) or
    (not enabled and inverted)
end

1.0.1

Fixed a bug that prevented initial keybindings from being set using the standalone configuration UI (changing them worked).