int SDL_hid_get_report_descriptor(SDL_hid_device *dev, unsigned char *buf, size_t buf_size);
| SDL_hid_device * | dev | SDL_hid_open()が戻したデバイスハンドル |
| unsigned char * | data | レポートディスクリプタのコピー先バッファ |
| size_t | buf_size | バッファのバイト数 |
アプリケーションはディスクリプタのコピー先としてあらかじめ確保したバッファを渡す必要がある. 推奨のバッファサイズは4096バイトである.