keymap.json - SkaveRat/kitcade GitHub Wiki

{
	"13": "handleEnter",
	"27": "handleEscape",
	"37": "handleLeft",
	"38": "handleUp",
	"39": "handleRight",
	"40": "handleDown"
}

A keycode, with a map to a method of KeyHandler, which will be executed on keypress.