Searched refs:led_packet (Results 1 – 6 of 6) sorted by relevance
/dports/devel/sdl20/SDL2-2.0.18/src/joystick/hidapi/ |
H A D | SDL_hidapi_xbox360.c | 95 Uint8 led_packet[] = { 0x01, 0x03, 0x00 }; in SetSlotLED() local 97 led_packet[2] = mode; in SetSlotLED() 98 if (SDL_hid_write(dev, led_packet, sizeof(led_packet)) != sizeof(led_packet)) { in SetSlotLED()
|
H A D | SDL_hidapi_xbox360w.c | 69 Uint8 led_packet[] = { 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; in SetSlotLED() local 71 led_packet[3] = 0x40 + (mode % 0x0e); in SetSlotLED() 72 if (SDL_hid_write(dev, led_packet, sizeof(led_packet)) != sizeof(led_packet)) { in SetSlotLED()
|
H A D | SDL_hidapi_xboxone.c | 449 Uint8 led_packet[] = { 0x0E, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00 }; in HIDAPI_DriverXboxOne_SetJoystickLED() local 451 led_packet[5] = 0x00; /* Whiteness? Sets white intensity when RGB is 0, seems additive */ in HIDAPI_DriverXboxOne_SetJoystickLED() 452 led_packet[6] = red; in HIDAPI_DriverXboxOne_SetJoystickLED() 453 led_packet[7] = green; in HIDAPI_DriverXboxOne_SetJoystickLED() 454 led_packet[8] = blue; in HIDAPI_DriverXboxOne_SetJoystickLED() 456 if (SDL_HIDAPI_SendRumble(device, led_packet, sizeof(led_packet)) != sizeof(led_packet)) { in HIDAPI_DriverXboxOne_SetJoystickLED()
|
/dports/x11/controllermap/SDL2-2.0.18/src/joystick/hidapi/ |
H A D | SDL_hidapi_xbox360.c | 95 Uint8 led_packet[] = { 0x01, 0x03, 0x00 }; in SetSlotLED() local 97 led_packet[2] = mode; in SetSlotLED() 98 if (SDL_hid_write(dev, led_packet, sizeof(led_packet)) != sizeof(led_packet)) { in SetSlotLED()
|
H A D | SDL_hidapi_xbox360w.c | 69 Uint8 led_packet[] = { 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; in SetSlotLED() local 71 led_packet[3] = 0x40 + (mode % 0x0e); in SetSlotLED() 72 if (SDL_hid_write(dev, led_packet, sizeof(led_packet)) != sizeof(led_packet)) { in SetSlotLED()
|
H A D | SDL_hidapi_xboxone.c | 449 Uint8 led_packet[] = { 0x0E, 0x00, 0x00, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00 }; in HIDAPI_DriverXboxOne_SetJoystickLED() local 451 led_packet[5] = 0x00; /* Whiteness? Sets white intensity when RGB is 0, seems additive */ in HIDAPI_DriverXboxOne_SetJoystickLED() 452 led_packet[6] = red; in HIDAPI_DriverXboxOne_SetJoystickLED() 453 led_packet[7] = green; in HIDAPI_DriverXboxOne_SetJoystickLED() 454 led_packet[8] = blue; in HIDAPI_DriverXboxOne_SetJoystickLED() 456 if (SDL_HIDAPI_SendRumble(device, led_packet, sizeof(led_packet)) != sizeof(led_packet)) { in HIDAPI_DriverXboxOne_SetJoystickLED()
|