mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-14 05:00:27 +00:00
Add notification framework with test and dummy driver
This commit is contained in:
@@ -2012,6 +2012,10 @@ void SDLTest_PrintEvent(const SDL_Event *event)
|
||||
SDL_Log("SDL EVENT: Camera device %" SDL_PRIu32 " permission denied",
|
||||
event->cdevice.which);
|
||||
break;
|
||||
case SDL_EVENT_NOTIFICATION_ACTION_INVOKED:
|
||||
SDL_Log("SDL EVENT: Notification action for %" SDL_PRIu32 " button_id=%s",
|
||||
event->notification.which, event->notification.action_id);
|
||||
break;
|
||||
case SDL_EVENT_SENSOR_UPDATE:
|
||||
SDL_Log("SDL EVENT: Sensor update for %" SDL_PRIu32,
|
||||
event->sensor.which);
|
||||
|
||||
Reference in New Issue
Block a user