Package org.lwjgl.sdl

Class SDLHIDAPI

java.lang.Object
org.lwjgl.sdl.SDLHIDAPI

public class SDLHIDAPI extends Object
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Contains the function pointers loaded from SDL.getLibrary().
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static long
    nSDL_hid_enumerate(short vendor_id, short product_id)
    SDL_hid_device_info * SDL_hid_enumerate(unsigned short vendor_id, unsigned short product_id)
    static void
    void SDL_hid_free_enumeration(SDL_hid_device_info * devs)
    static long
    SDL_hid_device_info * SDL_hid_get_device_info(SDL_hid_device * dev)
    static int
    nSDL_hid_get_feature_report(long dev, long data, long length)
    int SDL_hid_get_feature_report(SDL_hid_device * dev, unsigned char * data, size_t length)
    static int
    nSDL_hid_get_indexed_string(long dev, int string_index, long string, long maxlen)
    int SDL_hid_get_indexed_string(SDL_hid_device * dev, int string_index, wchar_t * string, size_t maxlen)
    static int
    nSDL_hid_get_input_report(long dev, long data, long length)
    int SDL_hid_get_input_report(SDL_hid_device * dev, unsigned char * data, size_t length)
    static int
    nSDL_hid_get_manufacturer_string(long dev, long string, long maxlen)
    int SDL_hid_get_manufacturer_string(SDL_hid_device * dev, wchar_t * string, size_t maxlen)
    static int
    nSDL_hid_get_product_string(long dev, long string, long maxlen)
    int SDL_hid_get_product_string(SDL_hid_device * dev, wchar_t * string, size_t maxlen)
    static int
    nSDL_hid_get_report_descriptor(long dev, long buf, long buf_size)
    int SDL_hid_get_report_descriptor(SDL_hid_device * dev, unsigned char * buf, size_t buf_size)
    static int
    nSDL_hid_get_serial_number_string(long dev, long string, long maxlen)
    int SDL_hid_get_serial_number_string(SDL_hid_device * dev, wchar_t * string, size_t maxlen)
    static long
    nSDL_hid_open(short vendor_id, short product_id, long serial_number)
    SDL_hid_device * SDL_hid_open(unsigned short vendor_id, unsigned short product_id, wchar_t const * serial_number)
    static long
    nSDL_hid_open_path(long path)
    SDL_hid_device * SDL_hid_open_path(char const * path)
    static int
    nSDL_hid_read(long dev, long data, long length)
    int SDL_hid_read(SDL_hid_device * dev, unsigned char * data, size_t length)
    static int
    nSDL_hid_read_timeout(long dev, long data, long length, int milliseconds)
    int SDL_hid_read_timeout(SDL_hid_device * dev, unsigned char const * data, size_t length, int milliseconds)
    static int
    nSDL_hid_send_feature_report(long dev, long data, long length)
    int SDL_hid_send_feature_report(SDL_hid_device * dev, unsigned char const * data, size_t length)
    static int
    nSDL_hid_write(long dev, long data, long length)
    int SDL_hid_write(SDL_hid_device * dev, unsigned char const * data, size_t length)
    static void
    SDL_hid_ble_scan(boolean active)
    void SDL_hid_ble_scan(bool active)
    static int
    SDL_hid_close(long dev)
    int SDL_hid_close(SDL_hid_device * dev)
    static int
    Uint32 SDL_hid_device_change_count(void)
    static @Nullable SDL_hid_device_info
    SDL_hid_enumerate(short vendor_id, short product_id)
    SDL_hid_device_info * SDL_hid_enumerate(unsigned short vendor_id, unsigned short product_id)
    static int
    int SDL_hid_exit(void)
    static void
    void SDL_hid_free_enumeration(SDL_hid_device_info * devs)
    static @Nullable SDL_hid_device_info
    SDL_hid_device_info * SDL_hid_get_device_info(SDL_hid_device * dev)
    static int
    int SDL_hid_get_feature_report(SDL_hid_device * dev, unsigned char * data, size_t length)
    static int
    SDL_hid_get_indexed_string(long dev, int string_index, ByteBuffer string)
    int SDL_hid_get_indexed_string(SDL_hid_device * dev, int string_index, wchar_t * string, size_t maxlen)
    static int
    int SDL_hid_get_input_report(SDL_hid_device * dev, unsigned char * data, size_t length)
    static int
    int SDL_hid_get_manufacturer_string(SDL_hid_device * dev, wchar_t * string, size_t maxlen)
    static int
    int SDL_hid_get_product_string(SDL_hid_device * dev, wchar_t * string, size_t maxlen)
    static int
    int SDL_hid_get_report_descriptor(SDL_hid_device * dev, unsigned char * buf, size_t buf_size)
    static int
    int SDL_hid_get_serial_number_string(SDL_hid_device * dev, wchar_t * string, size_t maxlen)
    static int
    int SDL_hid_init(void)
    static long
    SDL_hid_open(short vendor_id, short product_id, @Nullable CharSequence serial_number)
    SDL_hid_device * SDL_hid_open(unsigned short vendor_id, unsigned short product_id, wchar_t const * serial_number)
    static long
    SDL_hid_open(short vendor_id, short product_id, @Nullable ByteBuffer serial_number)
    SDL_hid_device * SDL_hid_open(unsigned short vendor_id, unsigned short product_id, wchar_t const * serial_number)
    static long
    SDL_hid_device * SDL_hid_open_path(char const * path)
    static long
    SDL_hid_device * SDL_hid_open_path(char const * path)
    static int
    SDL_hid_read(long dev, ByteBuffer data)
    int SDL_hid_read(SDL_hid_device * dev, unsigned char * data, size_t length)
    static int
    SDL_hid_read_timeout(long dev, ByteBuffer data, int milliseconds)
    int SDL_hid_read_timeout(SDL_hid_device * dev, unsigned char const * data, size_t length, int milliseconds)
    static int
    int SDL_hid_send_feature_report(SDL_hid_device * dev, unsigned char const * data, size_t length)
    static int
    SDL_hid_set_nonblocking(long dev, boolean nonblock)
    int SDL_hid_set_nonblocking(SDL_hid_device * dev, int nonblock)
    static int
    SDL_hid_write(long dev, ByteBuffer data)
    int SDL_hid_write(SDL_hid_device * dev, unsigned char const * data, size_t length)

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Method Details

    • SDL_hid_init

      public static int SDL_hid_init()
      int SDL_hid_init(void)
    • SDL_hid_exit

      public static int SDL_hid_exit()
      int SDL_hid_exit(void)
    • SDL_hid_device_change_count

      public static int SDL_hid_device_change_count()
      Uint32 SDL_hid_device_change_count(void)
    • nSDL_hid_enumerate

      public static long nSDL_hid_enumerate(short vendor_id, short product_id)
      SDL_hid_device_info * SDL_hid_enumerate(unsigned short vendor_id, unsigned short product_id)
    • SDL_hid_enumerate

      public static @Nullable SDL_hid_device_info SDL_hid_enumerate(short vendor_id, short product_id)
      SDL_hid_device_info * SDL_hid_enumerate(unsigned short vendor_id, unsigned short product_id)
    • nSDL_hid_free_enumeration

      public static void nSDL_hid_free_enumeration(long devs)
      void SDL_hid_free_enumeration(SDL_hid_device_info * devs)
    • SDL_hid_free_enumeration

      public static void SDL_hid_free_enumeration(SDL_hid_device_info devs)
      void SDL_hid_free_enumeration(SDL_hid_device_info * devs)
    • nSDL_hid_open

      public static long nSDL_hid_open(short vendor_id, short product_id, long serial_number)
      SDL_hid_device * SDL_hid_open(unsigned short vendor_id, unsigned short product_id, wchar_t const * serial_number)
    • SDL_hid_open

      public static long SDL_hid_open(short vendor_id, short product_id, @Nullable ByteBuffer serial_number)
      SDL_hid_device * SDL_hid_open(unsigned short vendor_id, unsigned short product_id, wchar_t const * serial_number)
    • SDL_hid_open

      public static long SDL_hid_open(short vendor_id, short product_id, @Nullable CharSequence serial_number)
      SDL_hid_device * SDL_hid_open(unsigned short vendor_id, unsigned short product_id, wchar_t const * serial_number)
    • nSDL_hid_open_path

      public static long nSDL_hid_open_path(long path)
      SDL_hid_device * SDL_hid_open_path(char const * path)
    • SDL_hid_open_path

      public static long SDL_hid_open_path(ByteBuffer path)
      SDL_hid_device * SDL_hid_open_path(char const * path)
    • SDL_hid_open_path

      public static long SDL_hid_open_path(CharSequence path)
      SDL_hid_device * SDL_hid_open_path(char const * path)
    • nSDL_hid_write

      public static int nSDL_hid_write(long dev, long data, long length)
      int SDL_hid_write(SDL_hid_device * dev, unsigned char const * data, size_t length)
    • SDL_hid_write

      public static int SDL_hid_write(long dev, ByteBuffer data)
      int SDL_hid_write(SDL_hid_device * dev, unsigned char const * data, size_t length)
    • nSDL_hid_read_timeout

      public static int nSDL_hid_read_timeout(long dev, long data, long length, int milliseconds)
      int SDL_hid_read_timeout(SDL_hid_device * dev, unsigned char const * data, size_t length, int milliseconds)
    • SDL_hid_read_timeout

      public static int SDL_hid_read_timeout(long dev, ByteBuffer data, int milliseconds)
      int SDL_hid_read_timeout(SDL_hid_device * dev, unsigned char const * data, size_t length, int milliseconds)
    • nSDL_hid_read

      public static int nSDL_hid_read(long dev, long data, long length)
      int SDL_hid_read(SDL_hid_device * dev, unsigned char * data, size_t length)
    • SDL_hid_read

      public static int SDL_hid_read(long dev, ByteBuffer data)
      int SDL_hid_read(SDL_hid_device * dev, unsigned char * data, size_t length)
    • SDL_hid_set_nonblocking

      public static int SDL_hid_set_nonblocking(long dev, boolean nonblock)
      int SDL_hid_set_nonblocking(SDL_hid_device * dev, int nonblock)
    • nSDL_hid_send_feature_report

      public static int nSDL_hid_send_feature_report(long dev, long data, long length)
      int SDL_hid_send_feature_report(SDL_hid_device * dev, unsigned char const * data, size_t length)
    • SDL_hid_send_feature_report

      public static int SDL_hid_send_feature_report(long dev, ByteBuffer data)
      int SDL_hid_send_feature_report(SDL_hid_device * dev, unsigned char const * data, size_t length)
    • nSDL_hid_get_feature_report

      public static int nSDL_hid_get_feature_report(long dev, long data, long length)
      int SDL_hid_get_feature_report(SDL_hid_device * dev, unsigned char * data, size_t length)
    • SDL_hid_get_feature_report

      public static int SDL_hid_get_feature_report(long dev, ByteBuffer data)
      int SDL_hid_get_feature_report(SDL_hid_device * dev, unsigned char * data, size_t length)
    • nSDL_hid_get_input_report

      public static int nSDL_hid_get_input_report(long dev, long data, long length)
      int SDL_hid_get_input_report(SDL_hid_device * dev, unsigned char * data, size_t length)
    • SDL_hid_get_input_report

      public static int SDL_hid_get_input_report(long dev, ByteBuffer data)
      int SDL_hid_get_input_report(SDL_hid_device * dev, unsigned char * data, size_t length)
    • SDL_hid_close

      public static int SDL_hid_close(long dev)
      int SDL_hid_close(SDL_hid_device * dev)
    • nSDL_hid_get_manufacturer_string

      public static int nSDL_hid_get_manufacturer_string(long dev, long string, long maxlen)
      int SDL_hid_get_manufacturer_string(SDL_hid_device * dev, wchar_t * string, size_t maxlen)
    • SDL_hid_get_manufacturer_string

      public static int SDL_hid_get_manufacturer_string(long dev, ByteBuffer string)
      int SDL_hid_get_manufacturer_string(SDL_hid_device * dev, wchar_t * string, size_t maxlen)
    • nSDL_hid_get_product_string

      public static int nSDL_hid_get_product_string(long dev, long string, long maxlen)
      int SDL_hid_get_product_string(SDL_hid_device * dev, wchar_t * string, size_t maxlen)
    • SDL_hid_get_product_string

      public static int SDL_hid_get_product_string(long dev, ByteBuffer string)
      int SDL_hid_get_product_string(SDL_hid_device * dev, wchar_t * string, size_t maxlen)
    • nSDL_hid_get_serial_number_string

      public static int nSDL_hid_get_serial_number_string(long dev, long string, long maxlen)
      int SDL_hid_get_serial_number_string(SDL_hid_device * dev, wchar_t * string, size_t maxlen)
    • SDL_hid_get_serial_number_string

      public static int SDL_hid_get_serial_number_string(long dev, ByteBuffer string)
      int SDL_hid_get_serial_number_string(SDL_hid_device * dev, wchar_t * string, size_t maxlen)
    • nSDL_hid_get_indexed_string

      public static int nSDL_hid_get_indexed_string(long dev, int string_index, long string, long maxlen)
      int SDL_hid_get_indexed_string(SDL_hid_device * dev, int string_index, wchar_t * string, size_t maxlen)
    • SDL_hid_get_indexed_string

      public static int SDL_hid_get_indexed_string(long dev, int string_index, ByteBuffer string)
      int SDL_hid_get_indexed_string(SDL_hid_device * dev, int string_index, wchar_t * string, size_t maxlen)
    • nSDL_hid_get_device_info

      public static long nSDL_hid_get_device_info(long dev)
      SDL_hid_device_info * SDL_hid_get_device_info(SDL_hid_device * dev)
    • SDL_hid_get_device_info

      public static @Nullable SDL_hid_device_info SDL_hid_get_device_info(long dev)
      SDL_hid_device_info * SDL_hid_get_device_info(SDL_hid_device * dev)
    • nSDL_hid_get_report_descriptor

      public static int nSDL_hid_get_report_descriptor(long dev, long buf, long buf_size)
      int SDL_hid_get_report_descriptor(SDL_hid_device * dev, unsigned char * buf, size_t buf_size)
    • SDL_hid_get_report_descriptor

      public static int SDL_hid_get_report_descriptor(long dev, ByteBuffer buf)
      int SDL_hid_get_report_descriptor(SDL_hid_device * dev, unsigned char * buf, size_t buf_size)
    • SDL_hid_ble_scan

      public static void SDL_hid_ble_scan(boolean active)
      void SDL_hid_ble_scan(bool active)