Removed warnings by explicitly casting to `u8` for controllers
Merge pull request #803 from ChuckRozhon/cast_from_double_to_u8_warnings

Removed warnings by explicitly casting to `u8` for controllers