Skip to content

Commit 08301f5

Browse files
feat(simu): reload with "r" key
1 parent 6050f7a commit 08301f5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

radio/src/targets/simu/sdl_simu.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,13 @@ static bool handleKeyEvents(SDL_Event& event)
326326
ImGui::StyleColorsDark();
327327
break;
328328

329+
case SDLK_r:
330+
if (event.type == SDL_KEYUP) {
331+
simuStop();
332+
simuStart();
333+
}
334+
break;
335+
329336
default:
330337
key_handled = false;
331338
break;

0 commit comments

Comments
 (0)