OmeletHopper
OmeletHopper

Reputation: 11

Removing SDLKey references in iOS project

recently I have started work on porting an SDL game to iOS. I've gotten the game into Xcode, and I've got the required SDL libraries compiled and linked (SDL2-2.0.8, SDL2_mixer-2.0.2, and SDL2_image-2.0.3). The biggest problem I have though is this:

Unknown type name 'SDLKey'

And I have no idea how to replace all of the references. Is there a way I can just 'null' out all the references so I can at least compile without input?

Upvotes: 0

Views: 157

Answers (1)

senithdeelaka
senithdeelaka

Reputation: 31

In SDL 2 SDLKey equivalent is SDL_Keycode.

Upvotes: 0

Related Questions