Skip to content

Commit

Permalink
Merge pull request #397 from MaximeMaillet/bind-keyboard-config
Browse files Browse the repository at this point in the history
Add key binding for config
  • Loading branch information
GhzGarage authored Jun 9, 2024
2 parents ec42699 + e3e8361 commit bde034d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ RegisterCommand('phone', function()
end
end)

RegisterKeyMapping('phone', 'Open Phone', 'keyboard', 'M')
RegisterKeyMapping('phone', 'Open Phone', 'keyboard', Config.OpenPhone)

-- NUI Callbacks

Expand Down
2 changes: 1 addition & 1 deletion config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Config.Linux = false -- True if linux
Config.TweetDuration = 12 -- How many hours to load tweets (12 will load the past 12 hours of tweets)
Config.RepeatTimeout = 2000
Config.CallRepeats = 10
Config.OpenPhone = 244
Config.OpenPhone = 'M'
Config.PhoneApplications = {
['phone'] = {
app = 'phone',
Expand Down

0 comments on commit bde034d

Please sign in to comment.