Changeset 151494 in webkit
- Timestamp:
- Jun 12, 2013 4:44:33 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r151493 r151494 1 2013-06-12 Allan Sandfeld Jensen <allan.jensen@digia.com> 2 3 [Qt] Set windows key-code for multimedia keys 4 https://bugs.webkit.org/show_bug.cgi?id=117535 5 6 Reviewed by Jocelyn Turcotte. 7 8 Map Qt Key-events to their defined windows keycode values. 9 10 * platform/qt/PlatformKeyboardEventQt.cpp: 11 (WebCore::windowsKeyCodeForKeyEvent): 12 1 13 2013-06-12 Sergio Villar Senin <svillar@igalia.com> 2 14 -
trunk/Source/WebCore/platform/qt/PlatformKeyboardEventQt.cpp
r151213 r151494 434 434 // VK_BROWSER_FAVORITES (AB) Windows 2000/XP: Browser Favorites key 435 435 // VK_BROWSER_HOME (AC) Windows 2000/XP: Browser Start and Home key 436 // VK_VOLUME_MUTE (AD) Windows 2000/XP: Volume Mute key 437 // VK_VOLUME_DOWN (AE) Windows 2000/XP: Volume Down key 438 // VK_VOLUME_UP (AF) Windows 2000/XP: Volume Up key 439 // VK_MEDIA_NEXT_TRACK (B0) Windows 2000/XP: Next Track key 440 // VK_MEDIA_PREV_TRACK (B1) Windows 2000/XP: Previous Track key 441 // VK_MEDIA_STOP (B2) Windows 2000/XP: Stop Media key 442 // VK_MEDIA_PLAY_PAUSE (B3) Windows 2000/XP: Play/Pause Media key 436 437 case Qt::Key_VolumeMute: 438 return VK_VOLUME_MUTE; // (AD) Windows 2000/XP: Volume Mute key 439 case Qt::Key_VolumeDown: 440 return VK_VOLUME_DOWN; // (AE) Windows 2000/XP: Volume Down key 441 case Qt::Key_VolumeUp: 442 return VK_VOLUME_UP; // (AF) Windows 2000/XP: Volume Up key 443 case Qt::Key_MediaNext: 444 return VK_MEDIA_NEXT_TRACK; // (B0) Windows 2000/XP: Next Track key 445 case Qt::Key_MediaPrevious: 446 return VK_MEDIA_PREV_TRACK; // (B1) Windows 2000/XP: Previous Track key 447 case Qt::Key_MediaStop: 448 return VK_MEDIA_STOP; // (B2) Windows 2000/XP: Stop Media key 449 case Qt::Key_MediaTogglePlayPause: 450 return VK_MEDIA_PLAY_PAUSE; // (B3) Windows 2000/XP: Play/Pause Media key 451 443 452 // VK_LAUNCH_MAIL (B4) Windows 2000/XP: Start Mail key 444 453 // VK_LAUNCH_MEDIA_SELECT (B5) Windows 2000/XP: Select Media key
Note: See TracChangeset
for help on using the changeset viewer.