| 267 | |
| 268 | |
| 269 | tString Bindings::GetModKeyText(int key, uint32 modifiers) |
| 270 | { |
| 271 | tString result; |
| 272 | const char* keyName = GetKeyName(key); |
| 273 | if (!keyName) |
| 274 | return result; |
| 275 | |
| 276 | const char* modText = GetModifiersText(modifiers); |
| 277 | if (modText) |
| 278 | tsPrintf(result, "%s %s", modText, keyName); |
| 279 | else |
| 280 | tsPrintf(result, "%s", keyName); |
| 281 | |
| 282 | return result; |
| 283 | } |
| 284 | |
| 285 | |
| 286 | uint32 Bindings::TranslateModifiers(int glfwModifiers) |
nothing calls this directly
no outgoing calls
no test coverage detected