diff --git a/hw/ell/InitInput.c b/hw/ell/InitInput.c new file mode 100644 index 0000000000000000000000000000000000000000..fd9106d57fa934fe92e6b28a8e6017cad4d3670d --- /dev/null +++ b/hw/ell/InitInput.c @@ -0,0 +1,65 @@ +/* + * Copyright 2018 Red Hat, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software") + * to deal in the software without restriction, including without limitation + * on the rights to use, copy, modify, merge, publish, distribute, sub + * license, and/or sell copies of the Software, and to permit persons to whom + * them Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTIBILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + +#include <X11/X.h> +#include "mi.h" +#include <X11/Xproto.h> +#include "scrnintstr.h" +#include "inputstr.h" +#include <X11/Xos.h> +#include "mipointer.h" +#include "xkbsrv.h" +#include <X11/keysym.h> +#include "xserver-properties.h" +#include "exevents.h" +#include "extinit.h" + +Bool +LegalModifier(unsigned int key, DeviceIntPtr pDev) +{ + return TRUE; +} + +void +ProcessInputEvents(void) +{ + mieqProcessInputEvents(); +} + +void +DDXRingBell(int volume, int pitch, int duration) +{ +} + +void +InitInput(int argc, char *argv[]) +{ +} + +void +CloseInput(void) +{ +} diff --git a/hw/ell/InitOutput.c b/hw/ell/InitOutput.c new file mode 100644 index 0000000000000000000000000000000000000000..789b3d1fdb1b986321348b08b2fd3b64fcf90aa5 --- /dev/null +++ b/hw/ell/InitOutput.c @@ -0,0 +1,64 @@ +/* + * Copyright 2018 Red Hat, Inc. + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and associated documentation files (the "Software") + * to deal in the software without restriction, including without limitation + * on the rights to use, copy, modify, merge, publish, distribute, sub + * license, and/or sell copies of the Software, and to permit persons to whom + * them Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice (including the next + * paragraph) shall be included in all copies or substantial portions of the + * Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTIBILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL + * THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY, WHETHER + * IN AN ACTION OF CONTRACT, TORT, OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + +#ifdef HAVE_DIX_CONFIG_H +#include <dix-config.h> +#endif + +#include "scrnintstr.h" + +void +ddxGiveUp(enum ExitCode error) +{ +} + +void +AbortDDX(enum ExitCode error) +{ + ddxGiveUp(error); +} + +void +OsVendorInit(void) +{ +} + +void +OsVendorFatalError(const char *f, va_list args) +{ +} + +void +ddxUseMsg(void) +{ +} + +int +ddxProcessArgument(int argc, char *argv[], int i) +{ + return 0; +} + +void +InitOutput(ScreenInfo * screen_info, int argc, char **argv) +{ +} diff --git a/hw/ell/meson.build b/hw/ell/meson.build new file mode 100644 index 0000000000000000000000000000000000000000..7107dc794b86c773a51a39d5ffd738717f4d81f0 --- /dev/null +++ b/hw/ell/meson.build @@ -0,0 +1,22 @@ +srcs = [ + 'InitInput.c', + 'InitOutput.c', + '../../mi/miinitext.c', +] + +xvfb_server = executable( + 'Xell', + srcs, + include_directories: inc, + dependencies: common_dep, + link_with: [ + libxserver_main, + libxserver_fb, + libxserver, + libxserver_xkb_stubs, + libxserver_xi_stubs, + libxserver_glx, + libglxvnd, + ], + install: true, +) diff --git a/hw/meson.build b/hw/meson.build index 96c1559c348b8f7671f66c84d0ef4e7de43a9622..333b7cf37bb3a2afe7797ff0cdad139f44fa50b1 100644 --- a/hw/meson.build +++ b/hw/meson.build @@ -29,3 +29,5 @@ endif if build_xwin subdir('xwin') endif + +subdir('ell')