Future<bool> selectGamepad(int id) async { try { var res = await WinGamepad.selectGamepad(id); deviceIndex = id; return res; } on Exception { return false; } }