mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
add my silly CrossCode mod I need on every one of my laptops
This commit is contained in:
parent
73919c7b81
commit
9f2aeebb8a
2 changed files with 17 additions and 0 deletions
6
crosscode/btw-i-use-arch-mod/package.json
Normal file
6
crosscode/btw-i-use-arch-mod/package.json
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"name": "btw I use Arch",
|
||||
"version": "0.0.0",
|
||||
"description": "A mod for masochists like myself",
|
||||
"prestart": "prestart.js"
|
||||
}
|
11
crosscode/btw-i-use-arch-mod/prestart.js
Normal file
11
crosscode/btw-i-use-arch-mod/prestart.js
Normal 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');
|
||||
},
|
||||
});
|
||||
});
|
Loading…
Reference in a new issue