Skip to content

Commit e7007ed

Browse files
committed
Switching Super keys to map to "meta"
1 parent d8ff4e7 commit e7007ed

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: providers/libnut/lib/libnut-keyboard.class.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -89,16 +89,16 @@ export default class KeyboardAction implements KeyboardProviderInterface {
8989
[Key.RightWin, "right_win"],
9090
[Key.LeftCmd, "cmd"],
9191
[Key.RightCmd, "right_cmd"],
92-
[Key.LeftMeta, "meta"],
93-
[Key.RightMeta, "right_meta"],
9492

9593
[Key.Menu, "menu"],
9694
[Key.Fn, "fn"],
9795

9896
[Key.LeftShift, "shift"],
99-
[Key.LeftSuper, "command"],
97+
[Key.LeftSuper, "meta"],
98+
[Key.LeftMeta, "meta"],
10099
[Key.RightShift, "right_shift"],
101-
[Key.RightSuper, "command"],
100+
[Key.RightSuper, "right_meta"],
101+
[Key.RightMeta, "right_meta"],
102102

103103
[Key.Grave, "`"],
104104
[Key.Minus, "-"],

0 commit comments

Comments
 (0)