~ubuntu-branches/ubuntu/lucid/squeak-vm/lucid

« back to all changes in this revision

Viewing changes to platforms/unix/plugins/JoystickTabletPlugin/sqUnixJoystickTablet.c

  • Committer: Bazaar Package Importer
  • Author(s): Oliver Grawert
  • Date: 2005-07-15 11:44:08 UTC
  • Revision ID: james.westby@ubuntu.com-20050715114408-lgcvpntigab09l00
Tags: upstream-3.7.7
ImportĀ upstreamĀ versionĀ 3.7.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* sqUnixJoystickTablet.c -- support for joysticks and graphics tablets
 
2
 * 
 
3
 *   Copyright (C) 1996-2004 by Ian Piumarta and other authors/contributors
 
4
 *                              listed elsewhere in this file.
 
5
 *   All rights reserved.
 
6
 *   
 
7
 *   This file is part of Unix Squeak.
 
8
 * 
 
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.
 
12
 * 
 
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.
 
16
 *   
 
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:
 
20
 * 
 
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.
 
26
 * 
 
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.
 
29
 * 
 
30
 *   3. This notice must not be removed or altered in any source distribution.
 
31
 * 
 
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.
 
35
 */
 
36
 
 
37
/* Author: Ian.Piumarta@INRIA.Fr
 
38
 *
 
39
 * Last edited: 2002-10-26 14:34:03 by piumarta on emilia.inria.fr
 
40
 */
 
41
 
 
42
#include "sq.h"
 
43
#include "JoystickTabletPlugin.h"
 
44
 
 
45
/* we don't have any joysticks */
 
46
 
 
47
void *joySticks= 0;
 
48
 
 
49
int joystickRead(int index)     { return 0; }
 
50
int joystickInit(void)          { return 0; }
 
51
 
 
52
/* we don't have any tablets either */
 
53
 
 
54
int tabletInit(void)
 
55
{
 
56
  return 0;
 
57
}
 
58
 
 
59
int tabletGetParameters(int cursorIndex, int result[])
 
60
{
 
61
  return 0;
 
62
}
 
63
 
 
64
int tabletRead(int cursorIndex, int result[])
 
65
{
 
66
  return 0;
 
67
}
 
68
 
 
69
int tabletResultSize(void)
 
70
{
 
71
  return 0;
 
72
}
 
73
 
 
74
int joystickShutdown(void)
 
75
{
 
76
  return 0;
 
77
}