Skip to content

Commit 2890e08

Browse files
authoredMar 24, 2025··
Merge pull request #44 from sylvrs/main
fix(keycode): rename `c` key back to what it should be
2 parents 09b227b + 7baef1d commit 2890e08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/io.zig

+2-2
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ pub const Scancode = enum(sdl.SDL_Scancode) {
692692
unknown = sdl.SDL_SCANCODE_UNKNOWN,
693693
a = sdl.SDL_SCANCODE_A,
694694
b = sdl.SDL_SCANCODE_B,
695-
sdl = sdl.SDL_SCANCODE_C,
695+
c = sdl.SDL_SCANCODE_C,
696696
d = sdl.SDL_SCANCODE_D,
697697
e = sdl.SDL_SCANCODE_E,
698698
f = sdl.SDL_SCANCODE_F,
@@ -1011,7 +1011,7 @@ pub const Keycode = enum(sdl.SDL_Keycode) {
10111011
grave = sdl.SDLK_BACKQUOTE,
10121012
a = sdl.SDLK_a,
10131013
b = sdl.SDLK_b,
1014-
sdl = sdl.SDLK_c,
1014+
c = sdl.SDLK_c,
10151015
d = sdl.SDLK_d,
10161016
e = sdl.SDLK_e,
10171017
f = sdl.SDLK_f,

0 commit comments

Comments
 (0)
Please sign in to comment.