add additional remapping

add additional remapping
This commit is contained in:
Kyle
2019-11-24 23:55:16 +00:00
committed by GitHub
parent 8418e23aed
commit b04f5f8783

View File

@@ -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);
}
}