mirror of
https://github.com/niellun/FastCarPlay.git
synced 2026-06-07 09:38:25 +02:00
Redraw
This commit is contained in:
@@ -14,6 +14,8 @@
|
||||
#include "decoder.h"
|
||||
#include "pcm_audio.h"
|
||||
|
||||
#define MAX_REDRAW_PER_FRAME 4
|
||||
|
||||
static KeySetting<int> *keyMap[] = {
|
||||
&Settings::keySiri,
|
||||
&Settings::keyNightOn,
|
||||
@@ -200,6 +202,11 @@ bool Application::processSystemEvent(const SDL_Event &e)
|
||||
_debug = !_debug;
|
||||
return true;
|
||||
}
|
||||
case SDLK_r:
|
||||
{
|
||||
_state.dirty = true;
|
||||
_state.requestFrame = 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user