mirror of
				https://github.com/ocornut/imgui.git
				synced 2025-10-26 12:27:30 +00:00 
			
		
		
		
	Backends: SDL3: Rename SDLK_QUOTE and SDLK_BACKQUOTE to SDLK_APOSTROPHE and SDLK_GRAVE. (#7580)
This commit is contained in:
		| @@ -145,7 +145,7 @@ static ImGuiKey ImGui_ImplSDL3_KeycodeToImGuiKey(int keycode) | |||||||
|         case SDLK_SPACE: return ImGuiKey_Space; |         case SDLK_SPACE: return ImGuiKey_Space; | ||||||
|         case SDLK_RETURN: return ImGuiKey_Enter; |         case SDLK_RETURN: return ImGuiKey_Enter; | ||||||
|         case SDLK_ESCAPE: return ImGuiKey_Escape; |         case SDLK_ESCAPE: return ImGuiKey_Escape; | ||||||
|         case SDLK_QUOTE: return ImGuiKey_Apostrophe; |         case SDLK_APOSTROPHE: return ImGuiKey_Apostrophe; | ||||||
|         case SDLK_COMMA: return ImGuiKey_Comma; |         case SDLK_COMMA: return ImGuiKey_Comma; | ||||||
|         case SDLK_MINUS: return ImGuiKey_Minus; |         case SDLK_MINUS: return ImGuiKey_Minus; | ||||||
|         case SDLK_PERIOD: return ImGuiKey_Period; |         case SDLK_PERIOD: return ImGuiKey_Period; | ||||||
| @@ -155,7 +155,7 @@ static ImGuiKey ImGui_ImplSDL3_KeycodeToImGuiKey(int keycode) | |||||||
|         case SDLK_LEFTBRACKET: return ImGuiKey_LeftBracket; |         case SDLK_LEFTBRACKET: return ImGuiKey_LeftBracket; | ||||||
|         case SDLK_BACKSLASH: return ImGuiKey_Backslash; |         case SDLK_BACKSLASH: return ImGuiKey_Backslash; | ||||||
|         case SDLK_RIGHTBRACKET: return ImGuiKey_RightBracket; |         case SDLK_RIGHTBRACKET: return ImGuiKey_RightBracket; | ||||||
|         case SDLK_BACKQUOTE: return ImGuiKey_GraveAccent; |         case SDLK_GRAVE: return ImGuiKey_GraveAccent; | ||||||
|         case SDLK_CAPSLOCK: return ImGuiKey_CapsLock; |         case SDLK_CAPSLOCK: return ImGuiKey_CapsLock; | ||||||
|         case SDLK_SCROLLLOCK: return ImGuiKey_ScrollLock; |         case SDLK_SCROLLLOCK: return ImGuiKey_ScrollLock; | ||||||
|         case SDLK_NUMLOCKCLEAR: return ImGuiKey_NumLock; |         case SDLK_NUMLOCKCLEAR: return ImGuiKey_NumLock; | ||||||
|   | |||||||
| @@ -56,6 +56,7 @@ Other changes: | |||||||
| - Backends: Win32: undo an assert introduced in 1.90.6 which didn't allow WndProc | - Backends: Win32: undo an assert introduced in 1.90.6 which didn't allow WndProc | ||||||
|   handler to be called before backend initialization. Because of how ::CreateWindow() |   handler to be called before backend initialization. Because of how ::CreateWindow() | ||||||
|   calls in WndProc this is facilitating. (#6275) [@MennoVink] |   calls in WndProc this is facilitating. (#6275) [@MennoVink] | ||||||
|  | - Backends: SDL3: minor updates for latest SDL3 API changes. (#7580) [@kuvaus] | ||||||
|  |  | ||||||
|  |  | ||||||
| ----------------------------------------------------------------------- | ----------------------------------------------------------------------- | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 kuvaus
					kuvaus