KeyUp

From LoTROInterface Wiki

Jump to: navigation, search


Event fired when a key is released.

Syntax

Lua
function Control:KeyUp(sender, args);

Parameters

sender
Type: table
The event sender (a Control with SetWantsKeyEvents enabled).


args
Type: table
The event arguments (There is a single entry in the table: the key is "Action" and the value is from the Turbine.UI.Lotro.Action enumeration).

Remarks

Ctrl, Alt, and Shift keys do not generate KeyUp and KeyDown events, but can be polled with IsControlKeyDown, IsAltKeyDown, and IsShiftKeyDown.

Personal tools