|Summary:||Keycodes for PrintScreen and SysRq|
|Product:||xorg||Reporter:||Owen Taylor <otaylor>|
|Component:||Input/Keyboard||Assignee:||Xorg Project Team <xorg-team>|
|Status:||RESOLVED FIXED||QA Contact:|
|i915 platform:||i915 features:|
|Bug Depends on:|
Description Owen Taylor 2004-08-30 12:56:22 UTC
PrintScreen and SysRequest==Alt+PrintScreen should give the same keycode since they are the same physical key. This was fixed about a year ago with the following code in xf86PostKbdEvent(): if (scanCode == KEY_SysReqest) scanCode = KEY_Print; else if (scanCode == KEY_Break) scanCode = KEY_Pause; And the shippe XKB files expect this to be the case. But now the keys are reporting different keycodes again, so the above code is not getting run or not working as expected.
Comment 1 Kristian Høgsberg 2004-08-30 13:59:54 UTC
Created attachment 778 [details] [review] Fix for differing keycodes for Print and SysReq The patch was taken from the old keyboard driver, were it's been in use for at least one release. It's a low risk patch that fixes a keyboard driver regression.
Comment 2 Kristian Høgsberg 2004-08-30 14:01:01 UTC
Adding as blocker since it's a regression and has a simple fix.
Comment 3 Kevin E. Martin 2004-08-30 18:36:23 UTC
Patch checked in. Closing.