escc.c (3d861a01093f8eedfac9889746ccafcfd32039b7) escc.c (7fb1cf1606c78c9d5b538f29176fd5a101726a9d)
1/*
2 * QEMU ESCC (Z8030/Z8530/Z85C30/SCC/ESCC) serial port emulation
3 *
4 * Copyright (c) 2003-2005 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

--- 700 unchanged lines hidden (view full) ---

709 if (base) {
710 sysbus_mmio_map(s, 0, base);
711 }
712
713 d = ESCC(s);
714 return &d->mmio;
715}
716
1/*
2 * QEMU ESCC (Z8030/Z8530/Z85C30/SCC/ESCC) serial port emulation
3 *
4 * Copyright (c) 2003-2005 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

--- 700 unchanged lines hidden (view full) ---

709 if (base) {
710 sysbus_mmio_map(s, 0, base);
711 }
712
713 d = ESCC(s);
714 return &d->mmio;
715}
716
717static const uint8_t qcode_to_keycode[Q_KEY_CODE_MAX] = {
717static const uint8_t qcode_to_keycode[Q_KEY_CODE__MAX] = {
718 [Q_KEY_CODE_SHIFT] = 99,
719 [Q_KEY_CODE_SHIFT_R] = 110,
720 [Q_KEY_CODE_ALT] = 19,
721 [Q_KEY_CODE_ALT_R] = 13,
722 [Q_KEY_CODE_ALTGR] = 13,
723 [Q_KEY_CODE_CTRL] = 76,
724 [Q_KEY_CODE_CTRL_R] = 76,
725 [Q_KEY_CODE_ESC] = 29,

--- 328 unchanged lines hidden ---
718 [Q_KEY_CODE_SHIFT] = 99,
719 [Q_KEY_CODE_SHIFT_R] = 110,
720 [Q_KEY_CODE_ALT] = 19,
721 [Q_KEY_CODE_ALT_R] = 13,
722 [Q_KEY_CODE_ALTGR] = 13,
723 [Q_KEY_CODE_CTRL] = 76,
724 [Q_KEY_CODE_CTRL_R] = 76,
725 [Q_KEY_CODE_ESC] = 29,

--- 328 unchanged lines hidden ---