Skip to content

Commit

Permalink
chore: update key's desc
Browse files Browse the repository at this point in the history
  • Loading branch information
swkeep committed Aug 29, 2024
1 parent 1ef5bc0 commit de78ebc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions interactionMenu/lua/client/userInputManager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -179,8 +179,8 @@ RegisterCommand('+interaction:wheel_down', function()
UserInputManager:handleMouseWheel(true)
end, false)

RegisterKeyMapping('+interaction:wheel_up', 'Enable targeting', 'MOUSE_WHEEL', "IOM_WHEEL_UP")
RegisterKeyMapping('+interaction:wheel_down', 'Enable targeting', 'MOUSE_WHEEL', "IOM_WHEEL_DOWN")
RegisterKeyMapping('+interaction:wheel_up', 'Interaction MouseWheel (up)', 'MOUSE_WHEEL', "IOM_WHEEL_UP")
RegisterKeyMapping('+interaction:wheel_down', 'Interaction MouseWheel (down)', 'MOUSE_WHEEL', "IOM_WHEEL_DOWN")
TriggerEvent('chat:removeSuggestion', '/+interaction:wheel_up')
TriggerEvent('chat:removeSuggestion', '/+interaction:wheel_down')

Expand All @@ -196,7 +196,8 @@ if Config.controls.enforce then
UserInputManager:stopHoldDetection()
end, false)

RegisterKeyMapping('+interaction_interact', 'Enable targeting', controls.defaultMapper, controls.defaultParameter)
RegisterKeyMapping('+interaction_interact', 'Trigger selected interaction option', controls.defaultMapper,
controls.defaultParameter)
TriggerEvent('chat:removeSuggestion', '/+interaction:interact')
TriggerEvent('chat:removeSuggestion', '/-interaction:interact')
end

0 comments on commit de78ebc

Please sign in to comment.