Go to file
Daniel Stone 0d5a509ae5 window: Use constant keycode offset of 8
The X11 compositor currently posts its key presses as keycode - 8; this
is due to X11 having a historical minimum keycode of 8, whereas evdev is
numbered starting from 1.  So while the KEY_* constants begin with
KEY_ESC at 1, the corresponding keycode in both X11 and the XKB keymaps
is 9.

window, on the other hand, was relying on xkb->min_key_code being 8 to
translate its keycodes back to useful values in the XKB 'evdev' keycode
map.  min_key_code may not always be 8, for restricted subsets of the
keycode map.

Perhaps not the best solution, but at least consistent.

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
2012-02-16 23:19:41 -05:00
clients window: Use constant keycode offset of 8 2012-02-16 23:19:41 -05:00
data compositor-wayland: Add window border 2012-02-07 11:02:59 -05:00
protocol Fix distcheck 2012-01-03 11:04:09 -05:00
shared Implement CONFIG_KEY_UNSIGNED_INTEGER 2012-01-27 15:34:27 -05:00
src protocol: remove absolute coordinates from pointer 2012-02-16 23:19:40 -05:00
tests test: Fix out-of-tree builds 2012-01-30 19:17:52 -05:00
.gitignore Clean up .gitignore files 2010-11-11 20:11:27 -05:00
Makefile.am Disable setuid install for distcheck 2012-02-09 09:20:44 -05:00
README Split into a demo repository that holds the demo compositor and clients 2011-02-14 22:13:33 -05:00
autogen.sh Update autotools configuration 2010-11-06 21:04:03 -04:00
configure.ac configure: Fix build on debian by avoiding bashisms in the test command. 2012-02-09 14:17:54 -05:00
weston-desktop-shell.ini Update config files to reflect new terminal name, weston-terminal 2012-01-30 19:10:40 -05:00
weston-tablet-shell.ini Update config files to reflect new terminal name, weston-terminal 2012-01-30 19:10:40 -05:00

README

Wayland Demos

This repository contains a few demos application for the Wayland
project.  There's a sample compositor that can run on KMS, under X11
or under another Wayland compositor and there's a handful of simple
clients that demonstrate various aspects of Wayland: