Release 970305
[wine/multimedia.git] / multimedia / joystick.c
blob8bc7deb1e2719fbf70c47e0737ebdc20d11251f4
1 /*
2 * MMSYTEM functions
4 * Copyright 1993 Martin Ayotte
5 */
7 #include <unistd.h>
8 #include <stdio.h>
9 #include <stdlib.h>
10 #include <string.h>
11 #include <fcntl.h>
12 #include <sys/ioctl.h>
13 #include "windows.h"
14 #include "ldt.h"
15 #include "user.h"
16 #include "driver.h"
17 #include "mmsystem.h"
18 #include "stddebug.h"
19 #include "debug.h"
21 /**************************************************************************
22 * JoyGetNumDevs [MMSYSTEM.101]
24 WORD JoyGetNumDevs(void)
26 fprintf(stdnimp, "EMPTY STUB !!! JoyGetNumDevs();\n");
27 return 0;
30 /**************************************************************************
31 * JoyGetDevCaps [MMSYSTEM.102]
33 WORD JoyGetDevCaps(WORD wID, LPJOYCAPS lpCaps, WORD wSize)
35 fprintf(stdnimp, "EMPTY STUB !!! JoyGetDevCaps(%04X, %p, %d);\n",
36 wID, lpCaps, wSize);
37 return MMSYSERR_NODRIVER;
40 /**************************************************************************
41 * JoyGetPos [MMSYSTEM.103]
43 WORD JoyGetPos(WORD wID, LPJOYINFO lpInfo)
45 fprintf(stdnimp, "EMPTY STUB !!! JoyGetPos(%04X, %p);\n", wID, lpInfo);
46 return MMSYSERR_NODRIVER;
49 /**************************************************************************
50 * JoyGetThreshold [MMSYSTEM.104]
52 WORD JoyGetThreshold(WORD wID, LPWORD lpThreshold)
54 fprintf(stdnimp, "EMPTY STUB !!! JoyGetThreshold(%04X, %p);\n", wID, lpThreshold);
55 return MMSYSERR_NODRIVER;
58 /**************************************************************************
59 * JoyReleaseCapture [MMSYSTEM.105]
61 WORD JoyReleaseCapture(WORD wID)
63 fprintf(stdnimp, "EMPTY STUB !!! JoyReleaseCapture(%04X);\n", wID);
64 return MMSYSERR_NODRIVER;
67 /**************************************************************************
68 * JoySetCapture [MMSYSTEM.106]
70 WORD JoySetCapture(HWND16 hWnd, WORD wID, WORD wPeriod, BOOL16 bChanged)
72 fprintf(stdnimp, "EMPTY STUB !!! JoySetCapture(%04X, %04X, %d, %d);\n",
73 hWnd, wID, wPeriod, bChanged);
74 return MMSYSERR_NODRIVER;
77 /**************************************************************************
78 * JoySetThreshold [MMSYSTEM.107]
80 WORD JoySetThreshold(WORD wID, WORD wThreshold)
82 fprintf(stdnimp, "EMPTY STUB !!! JoySetThreshold(%04X, %d);\n", wID, wThreshold);
83 return MMSYSERR_NODRIVER;
86 /**************************************************************************
87 * JoySetCalibration [MMSYSTEM.109]
89 WORD JoySetCalibration(WORD wID)
91 fprintf(stdnimp, "EMPTY STUB !!! JoySetCalibration(%04X);\n", wID);
92 return MMSYSERR_NODRIVER;