1/* 2 * Copyright (c) 2009 Matthieu Herrb <matthieu@herrb.eu> 3 * 4 * Permission to use, copy, modify, and distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 11 * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15 */ 16 17#ifndef _WS_PROPERTIES_H 18#define _WS_PROPERTIES_H 19 20/* Middle mouse button emulation */ 21/* BOOL */ 22#define WS_PROP_MIDBUTTON "WS Pointer Middle Button Emulation" 23/* CARD32 */ 24#define WS_PROP_MIDBUTTON_TIMEOUT "WS Pointer Middle Button Timeout" 25 26/* Run-time calibration */ 27/* CARD32, 4 values [minx, maxx, miny, maxy], or no values for unset */ 28#define WS_PROP_CALIBRATION "WS Pointer Axis Calibration" 29 30/* Swap x and y axis. */ 31/* BOOL */ 32#define WS_PROP_SWAP_AXES "WS Pointer Axes Swap" 33 34#endif 35