Skip to content

Commit

Permalink
Changed keybinds for the automation example to avoid conflict with br…
Browse files Browse the repository at this point in the history
…owser shortcuts (#3519)
  • Loading branch information
mmilenkov authored Nov 10, 2023
1 parent 30dcbaf commit a92c34d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/core/core_automation_events.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ int main(void)
//----------------------------------------------------------------------------------

// Toggle events recording
if (IsKeyPressed(KEY_F2))
if (IsKeyPressed(KEY_S))
{
if (!eventPlaying)
{
Expand All @@ -220,7 +220,7 @@ int main(void)
}
}
}
else if (IsKeyPressed(KEY_F3))
else if (IsKeyPressed(KEY_A))
{
if (!eventRecording && (aelist.count > 0))
{
Expand Down Expand Up @@ -291,8 +291,8 @@ int main(void)
DrawText("- SPACE: Player jump", 30, 60, 10, DARKGRAY);
DrawText("- R: Reset game state", 30, 80, 10, DARKGRAY);

DrawText("- F2: START/STOP RECORDING INPUT EVENTS", 30, 110, 10, BLACK);
DrawText("- F3: REPLAY LAST RECORDED INPUT EVENTS", 30, 130, 10, BLACK);
DrawText("- S: START/STOP RECORDING INPUT EVENTS", 30, 110, 10, BLACK);
DrawText("- A: REPLAY LAST RECORDED INPUT EVENTS", 30, 130, 10, BLACK);

// Draw automation events recording indicator
if (eventRecording)
Expand Down
Binary file modified examples/core/core_automation_events.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a92c34d

Please sign in to comment.