diff options
| author | Miloslav Milenkov <[email protected]> | 2023-11-10 14:04:04 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-11-10 15:04:04 +0100 |
| commit | a92c34d83c69022f170025299120a7049b548c19 (patch) | |
| tree | 4defa7450f1c993ec3d8c36b4ad94b604b06e69e | |
| parent | 30dcbaff2025bfa76342b4cfb702c2bb813fb106 (diff) | |
| download | raylib-a92c34d83c69022f170025299120a7049b548c19.tar.gz raylib-a92c34d83c69022f170025299120a7049b548c19.zip | |
Changed keybinds for the automation example to avoid conflict with browser shortcuts (#3519)
| -rw-r--r-- | examples/core/core_automation_events.c | 8 | ||||
| -rw-r--r-- | examples/core/core_automation_events.png | bin | 17155 -> 20515 bytes |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/core/core_automation_events.c b/examples/core/core_automation_events.c index 0739a6e7..136e1e50 100644 --- a/examples/core/core_automation_events.c +++ b/examples/core/core_automation_events.c @@ -201,7 +201,7 @@ int main(void) //---------------------------------------------------------------------------------- // Toggle events recording - if (IsKeyPressed(KEY_F2)) + if (IsKeyPressed(KEY_S)) { if (!eventPlaying) { @@ -220,7 +220,7 @@ int main(void) } } } - else if (IsKeyPressed(KEY_F3)) + else if (IsKeyPressed(KEY_A)) { if (!eventRecording && (aelist.count > 0)) { @@ -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) diff --git a/examples/core/core_automation_events.png b/examples/core/core_automation_events.png Binary files differindex 49cf3282..ac8cb3b0 100644 --- a/examples/core/core_automation_events.png +++ b/examples/core/core_automation_events.png |
