Skip to content

Commit bde034d

Browse files
authored
Merge pull request #397 from MaximeMaillet/bind-keyboard-config
Add key binding for config
2 parents ec42699 + e3e8361 commit bde034d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

client/main.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ RegisterCommand('phone', function()
469469
end
470470
end)
471471

472-
RegisterKeyMapping('phone', 'Open Phone', 'keyboard', 'M')
472+
RegisterKeyMapping('phone', 'Open Phone', 'keyboard', Config.OpenPhone)
473473

474474
-- NUI Callbacks
475475

config.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Config.Linux = false -- True if linux
66
Config.TweetDuration = 12 -- How many hours to load tweets (12 will load the past 12 hours of tweets)
77
Config.RepeatTimeout = 2000
88
Config.CallRepeats = 10
9-
Config.OpenPhone = 244
9+
Config.OpenPhone = 'M'
1010
Config.PhoneApplications = {
1111
['phone'] = {
1212
app = 'phone',

0 commit comments

Comments
 (0)