1
/* sqUnixJoystickTablet.c -- support for joysticks and graphics tablets
3
* Copyright (C) 1996-2004 by Ian Piumarta and other authors/contributors
4
* listed elsewhere in this file.
7
* This file is part of Unix Squeak.
9
* You are NOT ALLOWED to distribute modified versions of this file
10
* under its original name. If you modify this file then you MUST
11
* rename it before making your modifications available publicly.
13
* This file is distributed in the hope that it will be useful, but WITHOUT
14
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
* FITNESS FOR A PARTICULAR PURPOSE.
17
* You may use and/or distribute this file ONLY as part of Squeak, under
18
* the terms of the Squeak License as described in `LICENSE' in the base of
19
* this distribution, subject to the following additional restrictions:
21
* 1. The origin of this software must not be misrepresented; you must not
22
* claim that you wrote the original software. If you use this software
23
* in a product, an acknowledgment to the original author(s) (and any
24
* other contributors mentioned herein) in the product documentation
25
* would be appreciated but is not required.
27
* 2. You must not distribute (or make publicly available by any
28
* means) a modified copy of this file unless you first rename it.
30
* 3. This notice must not be removed or altered in any source distribution.
32
* Using (or modifying this file for use) in any context other than Squeak
33
* changes these copyright conditions. Read the file `COPYING' in the
34
* directory `platforms/unix/doc' before proceeding with any such use.
37
/* Author: Ian.Piumarta@INRIA.Fr
39
* Last edited: 2002-10-26 14:34:03 by piumarta on emilia.inria.fr
43
#include "JoystickTabletPlugin.h"
45
/* we don't have any joysticks */
49
int joystickRead(int index) { return 0; }
50
int joystickInit(void) { return 0; }
52
/* we don't have any tablets either */
59
int tabletGetParameters(int cursorIndex, int result[])
64
int tabletRead(int cursorIndex, int result[])
69
int tabletResultSize(void)
74
int joystickShutdown(void)