Implement right shift/ctl, and convert the VNC/xorg scancode
of 0xff03 into right-alt. Reported by: lme@ MFC after: 1 week
This commit is contained in:
parent
dd012a57a7
commit
5dab2ac7af
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=302546
@ -324,7 +324,9 @@ ps2kbd_keysym_queue(struct ps2kbd_softc *sc,
|
||||
fifo_put(sc, 0x12);
|
||||
break;
|
||||
case 0xffe2: /* Right shift */
|
||||
/* XXX */
|
||||
if (!down)
|
||||
fifo_put(sc, 0xf0);
|
||||
fifo_put(sc, 0x59);
|
||||
break;
|
||||
case 0xffe3: /* Left control */
|
||||
if (!down)
|
||||
@ -332,7 +334,10 @@ ps2kbd_keysym_queue(struct ps2kbd_softc *sc,
|
||||
fifo_put(sc, 0x14);
|
||||
break;
|
||||
case 0xffe4: /* Right control */
|
||||
/* XXX */
|
||||
fifo_put(sc, 0xe0);
|
||||
if (!down)
|
||||
fifo_put(sc, 0xf0);
|
||||
fifo_put(sc, 0x14);
|
||||
break;
|
||||
case 0xffe7: /* Left meta */
|
||||
/* XXX */
|
||||
@ -345,6 +350,7 @@ ps2kbd_keysym_queue(struct ps2kbd_softc *sc,
|
||||
fifo_put(sc, 0xf0);
|
||||
fifo_put(sc, 0x11);
|
||||
break;
|
||||
case 0xfe03: /* AltGr */
|
||||
case 0xffea: /* Right alt */
|
||||
fifo_put(sc, 0xe0);
|
||||
if (!down)
|
||||
|
Loading…
Reference in New Issue
Block a user