add additional remapping
add additional remapping
This commit is contained in:
@@ -252,4 +252,35 @@ public interface KeyRemappingConfig extends Config
|
||||
{
|
||||
return new ModifierlessKeybind(KeyEvent.VK_ESCAPE, 0);
|
||||
}
|
||||
|
||||
@ConfigItem(
|
||||
position = 20,
|
||||
keyName = "ctrl",
|
||||
name = "CTRL",
|
||||
description = "The key which will replace {CTRL}."
|
||||
)
|
||||
default ModifierlessKeybind ctrl()
|
||||
{
|
||||
return new ModifierlessKeybind(KeyEvent.VK_CONTROL, 0);
|
||||
}
|
||||
@ConfigItem(
|
||||
position = 21,
|
||||
keyName = "alt",
|
||||
name = "ALT",
|
||||
description = "The key which will replace {ALT}."
|
||||
)
|
||||
default ModifierlessKeybind alt()
|
||||
{
|
||||
return new ModifierlessKeybind(KeyEvent.VK_ALT, 0);
|
||||
}
|
||||
@ConfigItem(
|
||||
position = 22,
|
||||
keyName = "shift",
|
||||
name = "SHIFT",
|
||||
description = "The key which will replace {SHIFT}."
|
||||
)
|
||||
default ModifierlessKeybind shift()
|
||||
{
|
||||
return new ModifierlessKeybind(KeyEvent.VK_SHIFT, 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user