Removed warnings by explicitly casting to `u8` for controllers