Code for 2012 mouse, not including some dependent libraries