add my silly CrossCode mod I need on every one of my laptops

This commit is contained in:
Dmytro Meleshko 2020-02-23 20:47:32 +02:00
parent 73919c7b81
commit 9f2aeebb8a
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,6 @@
{
"name": "btw I use Arch",
"version": "0.0.0",
"description": "A mod for masochists like myself",
"prestart": "prestart.js"
}

View file

@ -0,0 +1,11 @@
ig.module('game.feature.masochist.keyboard-controls')
.requires('game.main')
.defines(() => {
sc.CrossCode.inject({
init() {
this.parent();
ig.input.bind(ig.KEY.J, 'aim');
ig.input.bind(ig.KEY.K, 'dash');
},
});
});