Definition at line 273 of file HIDDeviceUSB.java.
◆ run()
void org.libsdl.app.HIDDeviceUSB.InputThread.run |
( |
| ) |
|
|
inline |
Definition at line 275 of file HIDDeviceUSB.java.
References e.
276 int packetSize = mInputEndpoint.getMaxPacketSize();
277 byte[] packet =
new byte[packetSize];
282 r = mConnection.bulkTransfer(mInputEndpoint, packet, packetSize, 1000);
286 Log.v(
TAG,
"Exception in UsbDeviceConnection bulktransfer: " + e);
294 if (r == packetSize) {
297 data = Arrays.copyOfRange(packet, 0, r);
301 mManager.HIDDeviceInputReport(mDeviceId, data);
GLdouble GLdouble GLdouble r
SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char int SDL_PRINTF_FORMAT_STRING const char const char SDL_SCANF_FORMAT_STRING const char return SDL_ThreadFunction const char void return Uint32 return Uint32 SDL_AssertionHandler void SDL_SpinLock SDL_atomic_t int int return SDL_atomic_t return void void void return void return int return SDL_AudioSpec SDL_AudioSpec return int int return return int SDL_RWops int SDL_AudioSpec Uint8 Uint32 * e
GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * data
The documentation for this class was generated from the following file: