mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
gpu_display: generate xlib bindings for input handling and keysyms
BUG=chromium:1023975 TEST=builds Change-Id: Ic281eb0115e74f8f4fce43c57987be5ad0d50e81 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/1930408 Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Zach Reizner <zachr@chromium.org> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Reviewed-by: Stephen Barber <smbarber@chromium.org>
This commit is contained in:
parent
5118381f2a
commit
0a433f8ca9
3 changed files with 1924 additions and 0 deletions
File diff suppressed because it is too large
Load diff
|
@ -38,6 +38,7 @@ bindgen --no-layout-tests --no-derive-debug \
|
|||
--whitelist-function XFreeGC \
|
||||
--whitelist-function XGetVisualInfo \
|
||||
--whitelist-function XInternAtom \
|
||||
--whitelist-function XKeycodeToKeysym \
|
||||
--whitelist-function XMapRaised \
|
||||
--whitelist-function XNextEvent \
|
||||
--whitelist-function XOpenDisplay \
|
||||
|
@ -53,11 +54,20 @@ bindgen --no-layout-tests --no-derive-debug \
|
|||
--whitelist-function XShmGetEventBase \
|
||||
--whitelist-function XShmPutImage \
|
||||
--whitelist-function XShmQueryExtension \
|
||||
--whitelist-var 'XK_.*' \
|
||||
--whitelist-var ButtonPressMask \
|
||||
--whitelist-var ButtonReleaseMask \
|
||||
--whitelist-var ClientMessage \
|
||||
--whitelist-var Expose \
|
||||
--whitelist-var ExposureMask \
|
||||
--whitelist-var KeyPress \
|
||||
--whitelist-var KeyPressMask \
|
||||
--whitelist-var KeyRelease \
|
||||
--whitelist-var KeyReleaseMask \
|
||||
--whitelist-var MotionNotify \
|
||||
--whitelist-var PMaxSize \
|
||||
--whitelist-var PMinSize \
|
||||
--whitelist-var PointerMotionMask \
|
||||
--whitelist-var ShmCompletion \
|
||||
--whitelist-var VisualBlueMaskMask \
|
||||
--whitelist-var VisualDepthMask \
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
// Copyright 2019 The Chromium OS Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style license that can be
|
||||
// found in the LICENSE file.
|
||||
#define XUTIL_DEFINE_FUNCTIONS
|
||||
#include <X11/Xlib.h>
|
||||
#include <X11/Xutil.h>
|
||||
#include <X11/extensions/XShm.h>
|
||||
#include <X11/keysymdef.h>
|
Loading…
Reference in a new issue