Action
From LoTROInterface Wiki
(→Undocumented values: some code to add missing values to enum) |
(→Undocumented values: replaced numbers with names) |
||
Line 346: | Line 346: | ||
{| {{API_Header}} | {| {{API_Header}} | ||
- | {{API_Row| | + | {{API_Row|RightMouseButton|Right mouse button}} |
- | {{API_Row| | + | {{API_Row|ToggleDebugHUD|Toggle the FPS meter display on/off.}} |
- | {{API_Row| | + | {{API_Row|ToggleDebugConsole|Toggle the debug console on/off.}} |
- | {{API_Row| | + | {{API_Row|BackspaceKey|Backspace key (only generates a KeyUp event, and only when a text box is selected).}} |
- | {{API_Row| | + | {{API_Row|CursorPreviousLine|Up arrow key (only generates a KeyUp event, and only when a text box is selected).}} |
- | {{API_Row| | + | {{API_Row|CursorCharRight|Right arrow key (only generates a KeyUp event, and only when a text box is selected).}} |
- | {{API_Row| | + | {{API_Row|CursorCharLeft|Left arrow key (only generates a KeyUp event, and only when a text box is selected).}} |
- | {{API_Row| | + | {{API_Row|CursorNextLine|Down arrow key (only generates a KeyUp event, and only when a text box is selected).}} |
- | {{API_Row| | + | {{API_Row|CursorPreviousPage|Cursor to previous page (only generates a KeyUp event, and only when a text box is selected).}} |
- | {{API_Row| | + | {{API_Row|CursorNextPage|Cursor to next page (only generates a KeyUp event, and only when a text box is selected).}} |
- | {{API_Row| | + | {{API_Row|CursorStartOfLine|Cursor to start of line (only generates a KeyUp event, and only when a text box is selected).}} |
- | {{API_Row| | + | {{API_Row|CursorEndOfLine|Cursor to end of line (only generates a KeyUp event, and only when a text box is selected).}} |
- | {{API_Row| | + | {{API_Row|CursorWordLeft|Cursor to word left (only generates a KeyUp event, and only when a text box is selected).}} |
- | {{API_Row| | + | {{API_Row|CursorWordRight|Cursor to word right (only generates a KeyUp event, and only when a text box is selected).}} |
- | {{API_Row| | + | {{API_Row|DeleteKey|Delete key (only generates a KeyUp event, and only when a text box is selected).}} |
- | {{API_Row| | + | {{API_Row|CutText|Cut text to clipboard.}} |
- | {{API_Row| | + | {{API_Row|CopyText|Copy text to clipboard.}} |
- | {{API_Row| | + | {{API_Row|PasteText|Paste text from clipboard.}} |
|} | |} | ||
Revision as of 02:02, 5 June 2019
API Reference > Turbine.UI.Lotro.Action
List of available "key actions" that can be detected by plugins. They are passed in the "Action" argument to KeyDown and KeyUp events.
The items are shown in the order in which they appear in the "Key Mapping" panel in the game.
Movement
None of the key actions in this section can be detected by plugins, but they are listed here for completeness.
Name | Description |
---|---|
(Move forward) | Does not generate KeyUp / KeyDown events. |
(Move forward (camera)) | Does not generate KeyUp / KeyDown events; however the right mouse button can be detected; see undocumented items below. |
(Rotate camera left) | Does not generate KeyUp / KeyDown events. |
(Rotate camera right) | Does not generate KeyUp / KeyDown events. |
(Pitch camera up) | Does not generate KeyUp / KeyDown events. |
(Pitch camera down) | Does not generate KeyUp / KeyDown events. |
(Pan camera in) | Does not generate KeyUp / KeyDown events. |
(Pan camera out) | Does not generate KeyUp / KeyDown events. |
(Toggle first/third person) | Does not generate KeyUp / KeyDown events. |
(Toggle target lock-on person) | Does not generate KeyUp / KeyDown events. |
Quickslots
Name | Description |
---|---|
QuickslotPageDown | |
QuickslotPageUp | |
Quickslot_1 | Main quickslot bar, slot 1 hotkey pressed (generates KeyDown event only). |
Quickslot_2 | |
Quickslot_3 | |
Quickslot_4 | |
Quickslot_5 | |
Quickslot_6 | |
Quickslot_7 | |
Quickslot_8 | |
Quickslot_9 | |
Quickslot_10 | |
Quickslot_11 | |
Quickslot_12 | Main quickslot bar, slot 12 hotkey pressed (generates KeyDown event only). |
Quickslot Bar 1
Name | Description |
---|---|
Quickbar1Visibility | Shows quickslot bar 1 (if "Always show bar 1" is not enabled). |
Quickslot_13 | Quickslot bar 1, slot 1 hotkey pressed (generates KeyDown event only). |
Quickslot_14 | |
Quickslot_15 | |
Quickslot_16 | |
Quickslot_17 | |
Quickslot_18 | |
Quickslot_19 | |
Quickslot_20 | |
Quickslot_21 | |
Quickslot_22 | |
Quickslot_23 | |
Quickslot_24 | Quickslot bar 1, slot 12 hotkey pressed (generates KeyDown event only). |
Quickslot Bar 2
Name | Description |
---|---|
Quickbar2Visibility | Shows quickslot bar 2 (if "Always show bar 2" is not enabled). |
Quickslot_25 | Quickslot bar 2, slot 1 hotkey pressed (generates KeyDown event only). |
Quickslot_26 | |
Quickslot_27 | |
Quickslot_28 | |
Quickslot_29 | |
Quickslot_30 | |
Quickslot_31 | |
Quickslot_32 | |
Quickslot_33 | |
Quickslot_34 | |
Quickslot_35 | |
Quickslot_36 | Quickslot bar 3, slot 12 hotkey pressed (generates KeyDown event only). |
Quickslot Bar 3
Name | Description |
---|---|
Quickbar3Visibility | Shows quickslot bar 3 (if "Always show bar 3" is not enabled). |
Quickslot_37 | Quickslot bar 3, slot 1 hotkey pressed (generates KeyDown event only). |
Quickslot_38 | |
Quickslot_39 | |
Quickslot_40 | |
Quickslot_41 | |
Quickslot_42 | |
Quickslot_43 | |
Quickslot_44 | |
Quickslot_45 | |
Quickslot_46 | |
Quickslot_47 | |
Quickslot_48 | Quickslot bar 3, slot 12 hotkey pressed (generates KeyDown event only). |
Quickslot Bar 4
Name | Description |
---|---|
Quickbar4Visibility | Shows quickslot bar 4 (if "Always show bar 4" is not enabled). |
Quickslot_49 | Quickslot bar 4, slot 1 hotkey pressed (generates KeyDown event only). |
Quickslot_50 | |
Quickslot_51 | |
Quickslot_52 | |
Quickslot_53 | |
Quickslot_54 | |
Quickslot_55 | |
Quickslot_56 | |
Quickslot_57 | |
Quickslot_58 | |
Quickslot_59 | |
Quickslot_60 | Quickslot bar 4, slot 12 hotkey pressed (generates KeyDown event only). |
Quickslot Bar 5
Name | Description |
---|---|
Quickbar5Visibility | Shows quickslot bar 5 (if "Always show bar 5" is not enabled). |
Quickslot_61 | Quickslot bar 5, slot 1 hotkey pressed (generates KeyDown event only). |
Quickslot_62 | |
Quickslot_63 | |
Quickslot_64 | |
Quickslot_65 | |
Quickslot_66 | |
Quickslot_67 | |
Quickslot_68 | |
Quickslot_69 | |
Quickslot_70 | |
Quickslot_71 | |
Quickslot_72 | Quickslot bar 5, slot 12 hotkey pressed (generates KeyDown event only). |
Selection
Name | Description |
---|---|
SelectionSelf | |
SelectionNearestFoe | |
SelectionNextFoe | |
SelectionPreviousFoe | |
SelectionNextTracked | |
SelectionPreviousTracked | |
SelectFellowOne | |
SelectFellowTwo | |
SelectFellowThree | |
SelectFellowFour | |
SelectFellowFive | |
SelectFellowSix | |
AssistFellowTwo | Assist fellowship member 2 (i.e. set your target to their target). |
AssistFellowThree | Assist fellowship member 3 (i.e. set your target to their target). |
AssistFellowFour | Assist fellowship member 4 (i.e. set your target to their target). |
AssistFellowFive | Assist fellowship member 5 (i.e. set your target to their target). |
AssistFellowSix | Assist fellowship member 6 (i.e. set your target to their target). |
SelectionNearestFellow | |
SelectionNearestPlayer | |
SelectionNextPlayer | |
SelectionPreviousPlayer | |
SelectionNearestCreature | Select nearest NPC. |
SelectionNextCreature | Select next NPC. |
SelectionPreviousCreature | Select previous NPC. |
SelectionNearestItem | |
SelectionNextItem | |
SelectionPreviousItem | |
PreviousSelection | |
PreviousAttacker | |
SelectionAssist | Assist your current target (i.e. set your target to their target). |
Panels
Name | Description |
---|---|
ToggleSkillPanel | |
ToggleTraitPanel | |
HousingPanel | |
ToggleCraftingPanel | |
MapPanel | |
ToggleJournalPanel | |
TitlesPanel | |
ToggleSocialPanel | |
ToggleBags | Toggle the display of all inventory bags. |
ToggleBag1 | Toggle the display of the first inventory bag. |
ToggleBag2 | Toggle the display of the second inventory bag. |
ToggleBag3 | Toggle the display of the third inventory bag. |
ToggleBag4 | Toggle the display of the fourth inventory bag. |
ToggleBag5 | Toggle the display of the fifth inventory bag. |
ToggleBag6 | Toggle the display of the sixth inventory bag. |
DressingRoom | |
ItemLinkToChat | |
MultiUseItem | |
ToggleOptionsPanel | |
ToggleAssistancePanel | |
ToggleRadar | |
ToggleQuestPanel | |
ToggleAccomplishmentPanel | Toggle deed log. |
ToggleItemAdvancementPanel | Toggle legendary items panel. |
ToggleMountsPanel | |
ToggleInstanceFinderPanel | |
ToggleSkirmishPanel | |
ToggleMountedCombatUI | |
ToggleWebStore | |
ReputationPanel | |
HobbyPanel | |
DestinyPointPerksPanel | |
ToggleSocialFellowingPanel | |
FriendsPanel | |
KinshipPanel | |
RaidPanel | |
GroupStagePanel | |
TogglePaperItemPanel | Toggle wallet. |
ToggleRandomItemRewardUI | Toggle Hobbit Presents display. |
TogglePendingLoot | |
TogglePluginManager | |
ToggleCollectionUI | |
ToggleFilterUI |
Chat
Name | Description |
---|---|
ChatModeReply |
Miscellaneous
Name | Description |
---|---|
QuickSlot_SkillMode | Toggle auto-attack. |
Use | |
FollowSelection | |
FindItems | |
ToggleBigBattlesUI | |
ToggleMailUI | |
Show_Names | Toggle floaty names. |
ShowDamage | Show damage. |
CaptureScreenshot | |
Tooltip_Detach | |
ToggleHiddenDragBoxes | Enter/exit the UI element repositioning mode. |
ToggleQuickslotLock | |
UI_Toggle | Show/hide the HUD (main user interface overlay). |
Logout | |
VoiceChat_Talk | |
ToggleItemSellLock | |
(Loot all) | |
DismountRemount | |
ShowRemoteQuestActions | |
TrackNearbyQuests | |
ClearAllFilters |
Music
Name | Description |
---|---|
ToggleMusicMode | |
MusicEndSong | |
Music_C2 | |
Music_Db2 | C#2 |
Music_D2 | |
Music_Eb2 | D#2 |
Music_E2 | |
Music_F2 | |
Music_Gb2 | F#2 |
Music_G2 | |
Music_Ab2 | G#2 |
Music_A2 | |
Music_Bb2 | A#2 |
Music_B2 | |
Music_C3 | |
Music_Db3 | C#3 |
Music_D3 | |
Music_Eb3 | D#3 |
Music_E3 | |
Music_F3 | |
Music_Gb3 | F#3 |
Music_G3 | |
Music_Ab3 | G#3 |
Music_A3 | |
Music_Bb3 | A#3 |
Music_B3 | |
Music_C4 | |
Music_Db4 | C#4 |
Music_D4 | |
Music_Eb4 | D#4 |
Music_E4 | |
Music_F4 | |
Music_Gb4 | F#4 |
Music_G4 | |
Music_Ab4 | G#4 |
Music_A4 | |
Music_Bb4 | A#4 |
Music_B4 | |
Music_C5 |
Fellowship Manoeuvres
Name | Description |
---|---|
FellowshipSkillAssist | |
TopFellowshipManoeuvre | |
BottomFellowshipManoeuvre | |
LeftFellowshipManoeuvre | |
RightFellowshipManoeuvre |
Fellowship Target Marking
Name | Description |
---|---|
ShieldMark | Fellowship target marking: Shield |
SpearMark | Fellowship target marking: Spear |
ArrowMark | Fellowship target marking: Arrow |
SunMark | Fellowship target marking: Sun |
SwordsMark | Fellowship target marking: Swords |
MoonMark | Fellowship target marking: Moon |
StarMark | Fellowship target marking: Star |
ClawMark | Fellowship target marking: Claw |
SkullMark | Fellowship target marking: Skull |
LeafMark | Fellowship target marking: Leaf |
Cosmetic Outfit Selection
Name | Description |
---|---|
PresentMainInventory | Show actual equipment; do not display any cosmetic outfit. |
PresentOutfit1 | Wear cosmetic outfit 1. |
PresentOutfit2 | Wear cosmetic outfit 2. |
PresentOutfit3 | Wear cosmetic outfit 3. |
PresentOutfit4 | Wear cosmetic outfit 4. |
PresentOutfit5 | Wear cosmetic outfit 5. |
PresentOutfit6 | Wear cosmetic outfit 6. |
PresentOutfit7 | Wear cosmetic outfit 7. |
PresentOutfit8 | Wear cosmetic outfit 8. |
Camera
None of the key actions in this section can be detected by plugins, but they are listed here for completeness.
Name | Description |
---|---|
(Reset camera) | Does not generate KeyUp / KeyDown events. |
(Rotate camera) | Does not generate KeyUp / KeyDown events; however the right mouse button can be detected; see undocumented items below. |
(Rotate camera left) | Does not generate KeyUp / KeyDown events. |
(Rotate camera right) | Does not generate KeyUp / KeyDown events. |
(Pitch camera up) | Does not generate KeyUp / KeyDown events. |
(Pitch camera down) | Does not generate KeyUp / KeyDown events. |
(Pan camera in) | Does not generate KeyUp / KeyDown events. |
(Pan camera out) | Does not generate KeyUp / KeyDown events. |
(Toggle first/third person) | Does not generate KeyUp / KeyDown events. |
(Toggle target lock-on person) | Does not generate KeyUp / KeyDown events. |
Other actions
The actions in this section do not correspond to items in the "Key Mapping" panel in the game options.
Name | Description |
---|---|
CameraInstantMouseLook | Mouse look (usually the left mouse button). |
Escape | Escape key. |
EnterKey | Enter key / chat window focus (only generates a KeyDown event, and only sometimes). |
Start_Command | When the user presses the "/" key to select the chat window and start entering a chat command. |
ToggleAlertOverflow | When the user clicks the "View Pending Alerts" icon with the mouse. |
VendorFullStack | When the user holds down the SHIFT key when interacting with a vendor. |
VendorQuantity | When the user holds down the ALT key when interacting with a vendor. |
ToggleStackDisplay |
Undocumented values
The following actions can be detected with KeyDown / KeyUp events, but do not have a corresponding entry in the Turbine.UI.Lotro.Action enumeration:
Name | Description |
---|---|
RightMouseButton | Right mouse button |
ToggleDebugHUD | Toggle the FPS meter display on/off. |
ToggleDebugConsole | Toggle the debug console on/off. |
BackspaceKey | Backspace key (only generates a KeyUp event, and only when a text box is selected). |
CursorPreviousLine | Up arrow key (only generates a KeyUp event, and only when a text box is selected). |
CursorCharRight | Right arrow key (only generates a KeyUp event, and only when a text box is selected). |
CursorCharLeft | Left arrow key (only generates a KeyUp event, and only when a text box is selected). |
CursorNextLine | Down arrow key (only generates a KeyUp event, and only when a text box is selected). |
CursorPreviousPage | Cursor to previous page (only generates a KeyUp event, and only when a text box is selected). |
CursorNextPage | Cursor to next page (only generates a KeyUp event, and only when a text box is selected). |
CursorStartOfLine | Cursor to start of line (only generates a KeyUp event, and only when a text box is selected). |
CursorEndOfLine | Cursor to end of line (only generates a KeyUp event, and only when a text box is selected). |
CursorWordLeft | Cursor to word left (only generates a KeyUp event, and only when a text box is selected). |
CursorWordRight | Cursor to word right (only generates a KeyUp event, and only when a text box is selected). |
DeleteKey | Delete key (only generates a KeyUp event, and only when a text box is selected). |
CutText | Cut text to clipboard. |
CopyText | Copy text to clipboard. |
PasteText | Paste text from clipboard. |
You can add the above missing values to the enumeration with the following Lua code:
Adding missing enumeration values | |
---|---|
-- Adding missing values to the Turbine.UI.Lotro.Action enumeration:
|
Inert values
The following entries in the Turbine.UI.Lotro.Action enumeration apparently cannot be triggered. They may be outdated, or used internally by developers. In some cases, you can assign keys to them in lotro.keymap and receive the KeyUp / KeyDown events, even though the client does nothing with them.
Name | Description |
---|---|
SelectionNextFellow | |
SelectionOff | |
SelectionPreviousFellow | |
AutoLootAll | |
EnterChatMode | |
MainMenu | |
QuickSlot_Chat | |
SystemMenu | |
ToggleBioPanel | |
ToggleComboUI | |
ToggleCraftingProf1Panel | |
ToggleCraftingProf2Panel | |
ToggleCraftingProf3Panel | |
ToggleGambitPanel | |
ToggleHUD | |
ToggleInputPanel | |
ToggleMithrilCoinsAuctionUI | |
ToggleMithrilCoinsMenu | |
ToggleMountedXpUI | |
TogglePVPPanel | |
TogglePluginManagerUI | |
ToggleQuestJournal | |
ToggleStatusbarPanel | |
ToggleThreatTrackerPanel | |
ToggleToolbar | |
ToggleToolbarPanel | |
ToggleWorldJoin | |
Undefined |
Remarks
Many of the actions only generate KeyUp or KeyDown events, not both.