trackball pinouts UP <=> Y-DIR (purple) Down <=> Y-CLK (blue) Left <=> X-DIR (green) Right <=> X-CLK (yellow)