src/joystick/windows/SDL_xinputjoystick_c.h
author Ryan C. Gordon
Tue, 24 Jan 2017 16:18:25 -0500
changeset 10850 c9dc0068b0e7
parent 10737 3406a0f8b041
child 11811 5d94cb6b24d3
permissions -rw-r--r--
configure: report libsamplerate support status.
slouken@8972
     1
/*
slouken@8972
     2
  Simple DirectMedia Layer
slouken@10737
     3
  Copyright (C) 1997-2017 Sam Lantinga <slouken@libsdl.org>
slouken@8972
     4
slouken@8972
     5
  This software is provided 'as-is', without any express or implied
slouken@8972
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@8972
     7
  arising from the use of this software.
slouken@8972
     8
slouken@8972
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@8972
    10
  including commercial applications, and to alter it and redistribute it
slouken@8972
    11
  freely, subject to the following restrictions:
slouken@8972
    12
slouken@8972
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@8972
    14
     claim that you wrote the original software. If you use this software
slouken@8972
    15
     in a product, an acknowledgment in the product documentation would be
slouken@8972
    16
     appreciated but is not required.
slouken@8972
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@8972
    18
     misrepresented as being the original software.
slouken@8972
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@8972
    20
*/
slouken@8972
    21
#include "../../SDL_internal.h"
slouken@8972
    22
slouken@8972
    23
#include "../../core/windows/SDL_xinput.h"
slouken@8972
    24
slouken@8972
    25
extern SDL_bool SDL_XINPUT_Enabled(void);
slouken@8972
    26
extern int SDL_XINPUT_JoystickInit(void);
slouken@8972
    27
extern void SDL_XINPUT_JoystickDetect(JoyStick_DeviceData **pContext);
slouken@8972
    28
extern int SDL_XINPUT_JoystickOpen(SDL_Joystick * joystick, JoyStick_DeviceData *joystickdevice);
slouken@8972
    29
extern void SDL_XINPUT_JoystickUpdate(SDL_Joystick * joystick);
slouken@8972
    30
extern void SDL_XINPUT_JoystickClose(SDL_Joystick * joystick);
slouken@8972
    31
extern void SDL_XINPUT_JoystickQuit(void);
slouken@8972
    32
slouken@8972
    33
/* vi: set ts=4 sw=4 expandtab: */