console.c (4b59f39bc9a03afcc74b2fa28da7c3189fca507c) | console.c (7fb1cf1606c78c9d5b538f29176fd5a101726a9d) |
---|---|
1/* 2 * QEMU graphical console 3 * 4 * Copyright (c) 2004 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 1094 unchanged lines hidden (view full) --- 1103 if (s->chr->chr_read) { 1104 qemu_fifo_write(&s->out_fifo, buf, q - buf); 1105 kbd_send_chars(s); 1106 } 1107 break; 1108 } 1109} 1110 | 1/* 2 * QEMU graphical console 3 * 4 * Copyright (c) 2004 Fabrice Bellard 5 * 6 * Permission is hereby granted, free of charge, to any person obtaining a copy 7 * of this software and associated documentation files (the "Software"), to deal 8 * in the Software without restriction, including without limitation the rights --- 1094 unchanged lines hidden (view full) --- 1103 if (s->chr->chr_read) { 1104 qemu_fifo_write(&s->out_fifo, buf, q - buf); 1105 kbd_send_chars(s); 1106 } 1107 break; 1108 } 1109} 1110 |
1111static const int qcode_to_keysym[Q_KEY_CODE_MAX] = { | 1111static const int qcode_to_keysym[Q_KEY_CODE__MAX] = { |
1112 [Q_KEY_CODE_UP] = QEMU_KEY_UP, 1113 [Q_KEY_CODE_DOWN] = QEMU_KEY_DOWN, 1114 [Q_KEY_CODE_RIGHT] = QEMU_KEY_RIGHT, 1115 [Q_KEY_CODE_LEFT] = QEMU_KEY_LEFT, 1116 [Q_KEY_CODE_HOME] = QEMU_KEY_HOME, 1117 [Q_KEY_CODE_END] = QEMU_KEY_END, 1118 [Q_KEY_CODE_PGUP] = QEMU_KEY_PAGEUP, 1119 [Q_KEY_CODE_PGDN] = QEMU_KEY_PAGEDOWN, --- 983 unchanged lines hidden --- | 1112 [Q_KEY_CODE_UP] = QEMU_KEY_UP, 1113 [Q_KEY_CODE_DOWN] = QEMU_KEY_DOWN, 1114 [Q_KEY_CODE_RIGHT] = QEMU_KEY_RIGHT, 1115 [Q_KEY_CODE_LEFT] = QEMU_KEY_LEFT, 1116 [Q_KEY_CODE_HOME] = QEMU_KEY_HOME, 1117 [Q_KEY_CODE_END] = QEMU_KEY_END, 1118 [Q_KEY_CODE_PGUP] = QEMU_KEY_PAGEUP, 1119 [Q_KEY_CODE_PGDN] = QEMU_KEY_PAGEDOWN, --- 983 unchanged lines hidden --- |