Changeset 98369 in vbox
- Timestamp:
- Jan 31, 2023 3:47:51 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155606
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r98357 r98369 3562 3562 * Now we send the event. Apply extended and release prefixes. 3563 3563 */ 3564 #ifdef RT_OS_WINDOWS 3565 gpKeyboard->PutUsageCode(SDL_GetScancodeFromKey(ev->keysym.sym), 0x07, ev->type == SDL_KEYUP ? TRUE : FALSE); 3566 #else 3564 3567 if (keycode & 0x100) 3565 3568 gpKeyboard->PutScancode(0xe0); … … 3567 3570 gpKeyboard->PutScancode(ev->type == SDL_KEYUP ? (keycode & 0x7f) | 0x80 3568 3571 : (keycode & 0x7f)); 3572 #endif /* RT_OS_WINDOWS */ 3569 3573 } 3570 3574
Note:
See TracChangeset
for help on using the changeset viewer.