move typedefs of enums down, due to lack of enum forward declaration support
move typedefs of enums down, due to lack of enum forward declaration support

elanthis/gamepad,mtwilliams/libgamepad,mtwilliams/libgamepad