2021-04-21 09:48:30 +02:00
|
|
|
local modkeys = {}
|
|
|
|
|
|
|
|
modkeys.map = {
|
|
|
|
["left command"] = "cmd",
|
|
|
|
["right command"] = "cmd",
|
|
|
|
["left ctrl"] = "ctrl",
|
|
|
|
["right ctrl"] = "ctrl",
|
|
|
|
["left shift"] = "shift",
|
|
|
|
["right shift"] = "shift",
|
|
|
|
["left option"] = "option",
|
|
|
|
["right option"] = "option",
|
|
|
|
["left alt"] = "alt",
|
|
|
|
["right alt"] = "altgr",
|
|
|
|
}
|
|
|
|
|
2023-08-25 20:03:23 +02:00
|
|
|
modkeys.keys = { "ctrl", "alt", "option", "altgr", "shift", "cmd" }
|
2021-04-21 09:48:30 +02:00
|
|
|
|
|
|
|
return modkeys
|