added joydetect c program so we can assign controls from multiple BT controller