function RHDocked0(%val) { echo("Left controller is docked: " @ %val); } // Set up for the left controller moveMap.bind( razerhydra, rh_docked0, RHDocked0);