docs: clarify supported accelerator punctuation (#38740)
doc: clarify supported accelerator punctuation
This commit is contained in:
		
					parent
					
						
							
								f5869b6fb9
							
						
					
				
			
			
				commit
				
					
						678d1aa37d
					
				
			
		
					 2 changed files with 1 additions and 4 deletions
				
			
		|  | @ -55,7 +55,7 @@ The `Super` (or `Meta`) key is mapped to the `Windows` key on Windows and Linux | ||||||
| * `0` to `9` | * `0` to `9` | ||||||
| * `A` to `Z` | * `A` to `Z` | ||||||
| * `F1` to `F24` | * `F1` to `F24` | ||||||
| * Punctuation like `~`, `!`, `@`, `#`, `$`, etc. | * Various Punctuation: `)`, `!`, `@`, `#`, `$`, `%`, `^`, `&`, `*`, `(`, `:`, `;`, `:`, `+`, `=`, `<`, `,`, `_`, `-`, `>`, `.`, `?`, `/`, `~`, `` ` ``, `{`, `]`, `[`, `|`, `\`, `}`, `"` | ||||||
| * `Plus` | * `Plus` | ||||||
| * `Space` | * `Space` | ||||||
| * `Tab` | * `Tab` | ||||||
|  |  | ||||||
|  | @ -207,7 +207,6 @@ ui::KeyboardCode KeyboardCodeFromCharCode(char16_t c, bool* shifted) { | ||||||
|       return ui::VKEY_Y; |       return ui::VKEY_Y; | ||||||
|     case 'z': |     case 'z': | ||||||
|       return ui::VKEY_Z; |       return ui::VKEY_Z; | ||||||
| 
 |  | ||||||
|     case ')': |     case ')': | ||||||
|       *shifted = true; |       *shifted = true; | ||||||
|       [[fallthrough]]; |       [[fallthrough]]; | ||||||
|  | @ -258,7 +257,6 @@ ui::KeyboardCode KeyboardCodeFromCharCode(char16_t c, bool* shifted) { | ||||||
|       [[fallthrough]]; |       [[fallthrough]]; | ||||||
|     case '9': |     case '9': | ||||||
|       return ui::VKEY_9; |       return ui::VKEY_9; | ||||||
| 
 |  | ||||||
|     case ':': |     case ':': | ||||||
|       *shifted = true; |       *shifted = true; | ||||||
|       [[fallthrough]]; |       [[fallthrough]]; | ||||||
|  | @ -314,7 +312,6 @@ ui::KeyboardCode KeyboardCodeFromCharCode(char16_t c, bool* shifted) { | ||||||
|       [[fallthrough]]; |       [[fallthrough]]; | ||||||
|     case '\'': |     case '\'': | ||||||
|       return ui::VKEY_OEM_7; |       return ui::VKEY_OEM_7; | ||||||
| 
 |  | ||||||
|     default: |     default: | ||||||
|       return ui::VKEY_UNKNOWN; |       return ui::VKEY_UNKNOWN; | ||||||
|   } |   } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Shelley Vohr
				Shelley Vohr