Add trackball support