I\'m trying to use the SDL_GetKeyboardState function from the SDL library, which is a function that returns a raw pointer to an array. I figured I would use a unique_ptr for