implemented trackballing and LED color setting