This mod serves as both an example implementation and a testing mod for KeybindLib.
Check out Main.cs
for the mod's entry point, Keybinds.cs
for the actual example, or modinfo.json
.
If you have any questions, feel free to message me on Discord (Esper#8989
) or matrix (@esper89:matrix.org
).
(For testing purposes)
-
key.test
(Test,T
): Creates messages in the console when pressed, held down, released, and repeated. -
key.jest
(Jest,J
): Tries (and fails) to start your jetpack, causing a small loss of energy. -
key.kest
(Kest,K
): Does nothing at all. Has no translations either. "Kest" isn't even a word. -
key.vest
(Vest,V
): Makes you start running. -
key.nest
(Nest,N
): Causes you to jump, but does not start the jetpack. Does not require you to press it again to jump again. -
key.jump
(Jump,Space
): The vanilla jump action, but it printsThanks for jumping!
in the console upon release.
Copyright (c) 2021 Esper Thomson
This mod is part of KeybindLib.
KeybindLib is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
KeybindLib is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with KeybindLib. If not, see <http:www.gnu.org/licenses/>.