15368a422Saliguori /* 2*2ec78706SDaniel P. Berrange * QEMU X11 keymaps 35368a422Saliguori * 4*2ec78706SDaniel P. Berrange * Copyright (c) 2017 Red Hat, Inc. 55368a422Saliguori * 65368a422Saliguori * Permission is hereby granted, free of charge, to any person obtaining a copy 75368a422Saliguori * of this software and associated documentation files (the "Software"), to deal 85368a422Saliguori * in the Software without restriction, including without limitation the rights 95368a422Saliguori * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 105368a422Saliguori * copies of the Software, and to permit persons to whom the Software is 115368a422Saliguori * furnished to do so, subject to the following conditions: 125368a422Saliguori * 135368a422Saliguori * The above copyright notice and this permission notice shall be included in 145368a422Saliguori * all copies or substantial portions of the Software. 155368a422Saliguori * 165368a422Saliguori * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 175368a422Saliguori * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 185368a422Saliguori * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 195368a422Saliguori * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 205368a422Saliguori * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 215368a422Saliguori * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 225368a422Saliguori * THE SOFTWARE. 235368a422Saliguori */ 245368a422Saliguori 255368a422Saliguori #ifndef QEMU_X_KEYMAP_H 265368a422Saliguori #define QEMU_X_KEYMAP_H 275368a422Saliguori 28*2ec78706SDaniel P. Berrange #include <X11/Xlib.h> 295368a422Saliguori 30*2ec78706SDaniel P. Berrange const guint16 *qemu_xkeymap_mapping_table(Display *dpy, size_t *maplen); 315368a422Saliguori 325368a422Saliguori #endif 33