[4/5] Add trackpad/trackball wake and unlock support

Thanks to Flinny for the original work