projects
/
gem5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpu: remove unnecessary data ptr from O3 internal read() funcs
[gem5.git]
/
src
/
dev
/
ps2.cc
diff --git
a/src/dev/ps2.cc
b/src/dev/ps2.cc
index dbcdfcaec38069f7115b94a7f51ee1a135883120..0d973ad709a84c99674a17a286b33776fa1e408a 100644
(file)
--- a/
src/dev/ps2.cc
+++ b/
src/dev/ps2.cc
@@
-174,6
+174,13
@@
keySymToPs2(uint32_t key, bool down, bool &cur_shift,
extended = true;
keys.push_back(0x14);
break;
+ case XK_Alt_L:
+ keys.push_back(0x11);
+ break;
+ case XK_Alt_R:
+ extended = true;
+ keys.push_back(0x11);
+ break;
default:
warn("Unknown extended key %#x\n", key);
return;