Add preference for Trackball wake

Originally by drewis. Doesn't work properly when cherry-picked.