// this file holds all the actions that only this specific vehicle can perform
// ===========================================================================
// the non self-descriptive fields are:
// "onChange":   code to run when the controller position changes     (applies to: buttons, keys, pov hat, axes)
// "onDown":     code to run when the controller becomes pressed down (applies to: buttons, keys, pov hat)
// "onUp":       code to run when the controller is lifted up         (applies to: buttons, keys, pov hat)
// "onRelative": code to run when the controller position changes     (applies to: mouse axis when holding right mouse button)
// "ctx" (defaults to 'vlua'): where the code above ^ must be run. it can be:
//    - vlua for vehicle lua async
//    - elua for engine  lua async
//    - tlua for engine  lua  sync
//    - ui for javascript    async
//    - ts for torquescript   sync
// "isBasic" (defaults to true): whether the binding must show always (true), or only when 'advanced bindings' checkbox is marked (false)
// "isCentered" (defaults to false): whether the axis values will be reported from -1 to +1 (true) or from 0 to +1 (false)
// "order":      helps set the display order in the Controls menu
{
"toggle_r6_saddletop":{"order":  1,  "onUp":"electrics.values.r6_saddletop = 1-(electrics.values.r6_saddletop or 0)", "title": "Saddlebags", "desc": "Open/Close Saddlebags" }
"toggle_jato":{"order":  2,  "onUp":"electrics.values.jatoInput = 1 - (electrics.values.jatoInput or 0)", "title": "Jato", "desc": "Toggle Jato" },
"toggle_wheelie":{"order":  3,  "onUp":"electrics.values.r6_wheelie = 1 - (electrics.values.r6_wheelie or 0)", "title": "Wheelie Function", "desc": "Toggle Jato" },
"controlelevKeyUp":{
	"order": 43, 
	"onChange":"electrics.values.controlelev = VALUE"
	"title": "Pitch (Up, Keyboard)", 
	"desc": "Control the pitch.", 
	},
	"controlelevKeyDown":{
	"order": 44, 
	"onChange":"electrics.values.controlelev = -VALUE"
	"title": "Pitch (Down, Keyboard)", 
	"desc": "Control the pitch.", 
	}
}
}

