Updated leap control and wii control code