Release 960717
[wine.git] / multimedia / joystick.c
blob821957b734904d5f03e299c3feaa874dc9d13ecd
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 "callback.h"
16 #include "user.h"
17 #include "driver.h"
18 #include "mmsystem.h"
19 #include "stddebug.h"
20 #include "debug.h"
22 /**************************************************************************
23 * JoyGetNumDevs [MMSYSTEM.101]
25 WORD JoyGetNumDevs(void)
27 fprintf(stdnimp, "EMPTY STUB !!! JoyGetNumDevs();\n");
28 return 0;
31 /**************************************************************************
32 * JoyGetDevCaps [MMSYSTEM.102]
34 WORD JoyGetDevCaps(WORD wID, LPJOYCAPS lpCaps, WORD wSize)
36 fprintf(stdnimp, "EMPTY STUB !!! JoyGetDevCaps(%04X, %p, %d);\n",
37 wID, lpCaps, wSize);
38 return MMSYSERR_NODRIVER;
41 /**************************************************************************
42 * JoyGetPos [MMSYSTEM.103]
44 WORD JoyGetPos(WORD wID, LPJOYINFO lpInfo)
46 fprintf(stdnimp, "EMPTY STUB !!! JoyGetPos(%04X, %p);\n", wID, lpInfo);
47 return MMSYSERR_NODRIVER;
50 /**************************************************************************
51 * JoyGetThreshold [MMSYSTEM.104]
53 WORD JoyGetThreshold(WORD wID, LPWORD lpThreshold)
55 fprintf(stdnimp, "EMPTY STUB !!! JoyGetThreshold(%04X, %p);\n", wID, lpThreshold);
56 return MMSYSERR_NODRIVER;
59 /**************************************************************************
60 * JoyReleaseCapture [MMSYSTEM.105]
62 WORD JoyReleaseCapture(WORD wID)
64 fprintf(stdnimp, "EMPTY STUB !!! JoyReleaseCapture(%04X);\n", wID);
65 return MMSYSERR_NODRIVER;
68 /**************************************************************************
69 * JoySetCapture [MMSYSTEM.106]
71 WORD JoySetCapture(HWND hWnd, WORD wID, WORD wPeriod, BOOL bChanged)
73 fprintf(stdnimp, "EMPTY STUB !!! JoySetCapture(%04X, %04X, %d, %d);\n",
74 hWnd, wID, wPeriod, bChanged);
75 return MMSYSERR_NODRIVER;
78 /**************************************************************************
79 * JoySetThreshold [MMSYSTEM.107]
81 WORD JoySetThreshold(WORD wID, WORD wThreshold)
83 fprintf(stdnimp, "EMPTY STUB !!! JoySetThreshold(%04X, %d);\n", wID, wThreshold);
84 return MMSYSERR_NODRIVER;
87 /**************************************************************************
88 * JoySetCalibration [MMSYSTEM.109]
90 WORD JoySetCalibration(WORD wID)
92 fprintf(stdnimp, "EMPTY STUB !!! JoySetCalibration(%04X);\n", wID);
93 return MMSYSERR_NODRIVER;