src/joystick/usb_ids.h
author Sam Lantinga <slouken@libsdl.org>
Mon, 23 Mar 2020 14:10:25 -0700
changeset 13670 63387e8920f5
parent 13663 37af808e6222
child 13767 671d8b2548b3
permissions -rw-r--r--
Don't check the HIDAPI driver for the virtual device created by xow
slouken@13430
     1
/*
slouken@13430
     2
  Simple DirectMedia Layer
slouken@13430
     3
  Copyright (C) 1997-2020 Sam Lantinga <slouken@libsdl.org>
slouken@13430
     4
slouken@13430
     5
  This software is provided 'as-is', without any express or implied
slouken@13430
     6
  warranty.  In no event will the authors be held liable for any damages
slouken@13430
     7
  arising from the use of this software.
slouken@13430
     8
slouken@13430
     9
  Permission is granted to anyone to use this software for any purpose,
slouken@13430
    10
  including commercial applications, and to alter it and redistribute it
slouken@13430
    11
  freely, subject to the following restrictions:
slouken@13430
    12
slouken@13430
    13
  1. The origin of this software must not be misrepresented; you must not
slouken@13430
    14
     claim that you wrote the original software. If you use this software
slouken@13430
    15
     in a product, an acknowledgment in the product documentation would be
slouken@13430
    16
     appreciated but is not required.
slouken@13430
    17
  2. Altered source versions must be plainly marked as such, and must not be
slouken@13430
    18
     misrepresented as being the original software.
slouken@13430
    19
  3. This notice may not be removed or altered from any source distribution.
slouken@13430
    20
*/
slouken@13430
    21
slouken@13430
    22
#ifndef usb_ids_h_
slouken@13430
    23
#define usb_ids_h_
slouken@13430
    24
slouken@13430
    25
/* Definitions of useful USB VID/PID values */
slouken@13430
    26
slouken@13430
    27
#define USB_VENDOR_HYPERKIN     0x2e24
slouken@13430
    28
#define USB_VENDOR_MICROSOFT    0x045e
slouken@13430
    29
#define USB_VENDOR_NINTENDO     0x057e
slouken@13430
    30
#define USB_VENDOR_NVIDIA       0x0955
slouken@13430
    31
#define USB_VENDOR_PDP          0x0e6f
slouken@13430
    32
#define USB_VENDOR_POWERA       0x24c6
slouken@13430
    33
#define USB_VENDOR_SONY         0x054c
slouken@13430
    34
#define USB_VENDOR_RAZER        0x1532
slouken@13430
    35
#define USB_VENDOR_VALVE        0x28de
slouken@13430
    36
slouken@13430
    37
#define USB_PRODUCT_NINTENDO_GAMECUBE_ADAPTER           0x0337
slouken@13663
    38
#define USB_PRODUCT_NINTENDO_SWITCH_PRO                 0x2009
slouken@13430
    39
#define USB_PRODUCT_RAZER_PANTHERA                      0x0401
slouken@13430
    40
#define USB_PRODUCT_RAZER_PANTHERA_EVO                  0x1008
slouken@13430
    41
#define USB_PRODUCT_SONY_DS4                            0x05c4
slouken@13430
    42
#define USB_PRODUCT_SONY_DS4_DONGLE                     0x0ba0
slouken@13430
    43
#define USB_PRODUCT_SONY_DS4_SLIM                       0x09cc
slouken@13438
    44
#define USB_PRODUCT_XBOX_ONE_ELITE_SERIES_1             0x02e3
slouken@13430
    45
#define USB_PRODUCT_XBOX_ONE_ELITE_SERIES_2             0x0b00
slouken@13430
    46
#define USB_PRODUCT_XBOX_ONE_ELITE_SERIES_2_BLUETOOTH   0x0b05
slouken@13670
    47
#define USB_PRODUCT_XBOX_ONE_S                          0x02ea
slouken@13430
    48
#define USB_PRODUCT_XBOX_ONE_S_REV1_BLUETOOTH           0x02e0
slouken@13430
    49
#define USB_PRODUCT_XBOX_ONE_S_REV2_BLUETOOTH           0x02fd
slouken@13430
    50
slouken@13430
    51
#endif /* usb_ids_h_ */
slouken@13430
    52
slouken@13430
    53
/* vi: set ts=4 sw=4 expandtab: */