|
发表于 2015-8-11 11:18:55
|
显示全部楼层
楼主:
options =
{
["keyCommands"] =
{
[1] =
{
["name"] = "End mission",
["category"] = "General",
["down"] = 51,
}, -- end of [1]
[2] =
{
["name"] = "Pause",
["category"] = "General",
["down"] = 52,
}, -- end of [2]
[3] =
{
["name"] = "Time accelerate",
["category"] = "General",
["down"] = 53,
}, -- end of [3]
[4] =
{
["name"] = "Time decelerate",
["category"] = "General",
["down"] = 191,
}, -- end of [4]
[5] =
---------------------------------------------------------
我的:
function layout()
return {
modifiers = {
['LShift'] = 'LShift',
['RShift'] = 'RShift',
['LAlt'] = 'LAlt',
['RAlt'] = 'RAlt',
['LCtrl'] = 'LCtrl',
['RCtrl'] = 'RCtrl',
['LWin'] = 'LWin',
['RWin'] = 'RWin',
},
keyCommands = {
-- Gameplay
{combos = {{key = 'Esc'}}, down = iCommandQuit, name = 'End mission', category = 'General'},
{combos = {{key = 'Pause'}}, down = iCommandBrakeGo, name = 'Pause', category = 'General'},
--{combos = {{key = 'Pause', reformers = {'RShift', 'RWin'}}}, down = iCommandActivePauseOnOff, name = 'Active Pause', category = 'General'},
{combos = {{key = 'Z', reformers = {'LCtrl'}}}, down = iCommandAccelerate, name = 'Time accelerate', category = 'General'},
{combos = {{key = 'Z', reformers = {'LAlt'}}}, down = iCommandDecelerate, name = 'Time decelerate', category = 'General'},
{combos = {{key = 'Z', reformers = {'LShift'}}}, down = iCommandNoAcceleration, name = 'Time normal', category = 'General'},
{combos = {{key = '\''}}, down = iCommandScoresWindowToggle, name = 'Score window', category = 'General'}, |
|