Package org.lwjgl.sdl
Class SDLHIDAPI
java.lang.Object
org.lwjgl.sdl.SDLHIDAPI
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Contains the function pointers loaded fromSDL.getLibrary()
. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
nSDL_hid_free_enumeration
(long devs) void SDL_hid_free_enumeration(SDL_hid_device_info * devs)
static long
nSDL_hid_get_device_info
(long dev) 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_get_device_info
(long dev) SDL_hid_device_info * SDL_hid_get_device_info(SDL_hid_device * dev)
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)
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
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)
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)
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)
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)
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)
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_open_path
(ByteBuffer path) 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
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)
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)
-
Field Details
-
SDL_HID_API_BUS_UNKNOWN
public static final int SDL_HID_API_BUS_UNKNOWN- See Also:
-
SDL_HID_API_BUS_USB
public static final int SDL_HID_API_BUS_USB- See Also:
-
SDL_HID_API_BUS_BLUETOOTH
public static final int SDL_HID_API_BUS_BLUETOOTH- See Also:
-
SDL_HID_API_BUS_I2C
public static final int SDL_HID_API_BUS_I2C- See Also:
-
SDL_HID_API_BUS_SPI
public static final int SDL_HID_API_BUS_SPI- See Also:
-
-
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
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
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
SDL_hid_device * SDL_hid_open_path(char const * path)
-
SDL_hid_open_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
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
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
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
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
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
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
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
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
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
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
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
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)
-