The input API was never implemented, so removing it before release.
authorSam Lantinga <slouken@libsdl.org>
Tue, 19 Feb 2013 05:39:19 -0800
changeset 690157dcaecb19e5
parent 6900 767690d1c013
child 6902 c8cdc77c63f1
The input API was never implemented, so removing it before release.
Makefile.in
include/SDL_input.h
include/SDL_mouse.h
     1.1 --- a/Makefile.in	Mon Feb 18 20:14:24 2013 -0800
     1.2 +++ b/Makefile.in	Tue Feb 19 05:39:19 2013 -0800
     1.3 @@ -58,7 +58,6 @@
     1.4  	SDL_gesture.h \
     1.5  	SDL_haptic.h \
     1.6  	SDL_hints.h \
     1.7 -	SDL_input.h \
     1.8  	SDL_joystick.h \
     1.9  	SDL_keyboard.h \
    1.10  	SDL_keycode.h \
     2.1 --- a/include/SDL_input.h	Mon Feb 18 20:14:24 2013 -0800
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,87 +0,0 @@
     2.4 -/*
     2.5 -  Simple DirectMedia Layer
     2.6 -  Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
     2.7 -
     2.8 -  This software is provided 'as-is', without any express or implied
     2.9 -  warranty.  In no event will the authors be held liable for any damages
    2.10 -  arising from the use of this software.
    2.11 -
    2.12 -  Permission is granted to anyone to use this software for any purpose,
    2.13 -  including commercial applications, and to alter it and redistribute it
    2.14 -  freely, subject to the following restrictions:
    2.15 -
    2.16 -  1. The origin of this software must not be misrepresented; you must not
    2.17 -     claim that you wrote the original software. If you use this software
    2.18 -     in a product, an acknowledgment in the product documentation would be
    2.19 -     appreciated but is not required.
    2.20 -  2. Altered source versions must be plainly marked as such, and must not be
    2.21 -     misrepresented as being the original software.
    2.22 -  3. This notice may not be removed or altered from any source distribution.
    2.23 -*/
    2.24 -
    2.25 -/**
    2.26 - *  \file SDL_input.h
    2.27 - *  
    2.28 - *  Include file for lowlevel SDL input device handling.
    2.29 - *
    2.30 - *  This talks about individual devices, and not the system cursor. If you
    2.31 - *  just want to know when the user moves the pointer somewhere in your
    2.32 - *  window, this is NOT the API you want. This one handles things like
    2.33 - *  multi-touch, drawing tablets, and multiple, separate mice.
    2.34 - *
    2.35 - *  The other API is in SDL_mouse.h
    2.36 - */
    2.37 -
    2.38 -#ifndef _SDL_input_h
    2.39 -#define _SDL_input_h
    2.40 -
    2.41 -#include "SDL_stdinc.h"
    2.42 -#include "SDL_error.h"
    2.43 -#include "SDL_video.h"
    2.44 -
    2.45 -#include "begin_code.h"
    2.46 -/* Set up for C function definitions, even when using C++ */
    2.47 -#ifdef __cplusplus
    2.48 -/* *INDENT-OFF* */
    2.49 -extern "C" {
    2.50 -/* *INDENT-ON* */
    2.51 -#endif
    2.52 -
    2.53 -
    2.54 -/* Function prototypes */
    2.55 -
    2.56 -/* !!! FIXME: real documentation
    2.57 - * - Redetect devices
    2.58 - * - This invalidates all existing device information from previous queries!
    2.59 - * - There is an implicit (re)detect upon SDL_Init().
    2.60 - */
    2.61 -extern DECLSPEC int SDLCALL SDL_RedetectInputDevices(void);
    2.62 -
    2.63 -/**
    2.64 - *  \brief Get the number of mouse input devices available.
    2.65 - */
    2.66 -extern DECLSPEC int SDLCALL SDL_GetNumInputDevices(void);
    2.67 -
    2.68 -/**
    2.69 - *  \brief Gets the name of a device with the given index.
    2.70 - *  
    2.71 - *  \param index is the index of the device, whose name is to be returned.
    2.72 - *  
    2.73 - *  \return the name of the device with the specified index
    2.74 - */
    2.75 -extern DECLSPEC const char *SDLCALL SDL_GetInputDeviceName(int index);
    2.76 -
    2.77 -
    2.78 -extern DECLSPEC int SDLCALL SDL_IsDeviceDisconnected(int index);
    2.79 -
    2.80 -/* Ends C function definitions when using C++ */
    2.81 -#ifdef __cplusplus
    2.82 -/* *INDENT-OFF* */
    2.83 -}
    2.84 -/* *INDENT-ON* */
    2.85 -#endif
    2.86 -#include "close_code.h"
    2.87 -
    2.88 -#endif /* _SDL_mouse_h */
    2.89 -
    2.90 -/* vi: set ts=4 sw=4 expandtab: */
     3.1 --- a/include/SDL_mouse.h	Mon Feb 18 20:14:24 2013 -0800
     3.2 +++ b/include/SDL_mouse.h	Tue Feb 19 05:39:19 2013 -0800
     3.3 @@ -23,22 +23,6 @@
     3.4   *  \file SDL_mouse.h
     3.5   *  
     3.6   *  Include file for SDL mouse event handling.
     3.7 - *
     3.8 - *  Please note that this ONLY discusses "mice" with the notion of the
     3.9 - *  desktop GUI. You (usually) have one system cursor, and the OS hides
    3.10 - *  the hardware details from you. If you plug in 10 mice, all ten move that
    3.11 - *  one cursor. For many applications and games, this is perfect, and this
    3.12 - *  API has served hundreds of SDL programs well since its birth.
    3.13 - *
    3.14 - *  It's not the whole picture, though. If you want more lowlevel control,
    3.15 - *  SDL offers a different API, that gives you visibility into each input
    3.16 - *  device, multi-touch interfaces, etc.
    3.17 - *
    3.18 - *  Those two APIs are incompatible, and you usually should not use both
    3.19 - *  at the same time. But for legacy purposes, this API refers to a "mouse"
    3.20 - *  when it actually means the system pointer and not a physical mouse.
    3.21 - *
    3.22 - *  The other API is in SDL_input.h
    3.23   */
    3.24  
    3.25  #ifndef _SDL_mouse_h