winmm_joystick.h
Go to the documentation of this file.
00001 //========================================================================
00002 // GLFW 3.1 WinMM - www.glfw.org
00003 //------------------------------------------------------------------------
00004 // Copyright (c) 2006-2014 Camilla Berglund <elmindreda@elmindreda.org>
00005 //
00006 // This software is provided 'as-is', without any express or implied
00007 // warranty. In no event will the authors be held liable for any damages
00008 // arising from the use of this software.
00009 //
00010 // Permission is granted to anyone to use this software for any purpose,
00011 // including commercial applications, and to alter it and redistribute it
00012 // freely, subject to the following restrictions:
00013 //
00014 // 1. The origin of this software must not be misrepresented; you must not
00015 //    claim that you wrote the original software. If you use this software
00016 //    in a product, an acknowledgment in the product documentation would
00017 //    be appreciated but is not required.
00018 //
00019 // 2. Altered source versions must be plainly marked as such, and must not
00020 //    be misrepresented as being the original software.
00021 //
00022 // 3. This notice may not be removed or altered from any source
00023 //    distribution.
00024 //
00025 //========================================================================
00026 
00027 #ifndef _glfw3_winmm_joystick_h_
00028 #define _glfw3_winmm_joystick_h_
00029 
00030 #define _GLFW_PLATFORM_LIBRARY_JOYSTICK_STATE \
00031     _GLFWjoystickWinMM winmm_js[GLFW_JOYSTICK_LAST + 1]
00032 
00033 
00034 // WinMM-specific per-joystick data
00035 //
00036 typedef struct _GLFWjoystickWinMM
00037 {
00038     float           axes[6];
00039     unsigned char   buttons[36]; // 32 buttons plus one hat
00040     char*           name;
00041 } _GLFWjoystickWinMM;
00042 
00043 
00044 void _glfwInitJoysticks(void);
00045 void _glfwTerminateJoysticks(void);
00046 
00047 #endif // _glfw3_winmm_joystick_h_


librealsense
Author(s): Sergey Dorodnicov , Mark Horn , Reagan Lopez
autogenerated on Tue Jun 25 2019 19:54:39