@@ -370,33 +370,6 @@ void HyperXAlloyFPSController::SendColor
370
370
hid_send_feature_report (dev, buf, 264 );
371
371
}
372
372
373
- void HyperXAlloyFPSController::SendExtendedColor
374
- (
375
- unsigned char profile,
376
- unsigned char * color_data
377
- )
378
- {
379
- unsigned char buf[264 ];
380
-
381
- /* -----------------------------------------------------*\
382
- | Zero out buffer |
383
- \*-----------------------------------------------------*/
384
- memset (buf, 0x00 , sizeof (buf));
385
-
386
- /* -----------------------------------------------------*\
387
- | Set up Color packet |
388
- \*-----------------------------------------------------*/
389
- buf[0x00 ] = 0x07 ;
390
- buf[0x01 ] = HYPERX_ALLOY_FPS_PACKET_ID_SET_COLOR;
391
- buf[0x02 ] = profile;
392
- buf[0x03 ] = HYPERX_ALLOY_FPS_COLOR_CHANNEL_EXTENDED;
393
-
394
- /* -----------------------------------------------------*\
395
- | Send packet |
396
- \*-----------------------------------------------------*/
397
- hid_send_feature_report (dev, buf, 264 );
398
- }
399
-
400
373
void HyperXAlloyFPSController::SendDirect
401
374
(
402
375
unsigned char color_channel,
@@ -430,30 +403,4 @@ void HyperXAlloyFPSController::SendDirect
430
403
| Send packet |
431
404
\*-----------------------------------------------------*/
432
405
hid_send_feature_report (dev, buf, 264 );
433
- }
434
-
435
- void HyperXAlloyFPSController::SendDirectExtended
436
- (
437
- unsigned char * color_data
438
- )
439
- {
440
- unsigned char buf[264 ];
441
-
442
- /* -----------------------------------------------------*\
443
- | Zero out buffer |
444
- \*-----------------------------------------------------*/
445
- memset (buf, 0x00 , sizeof (buf));
446
-
447
- /* -----------------------------------------------------*\
448
- | Set up Direct packet |
449
- \*-----------------------------------------------------*/
450
- buf[0x00 ] = 0x07 ;
451
- buf[0x01 ] = HYPERX_ALLOY_FPS_PACKET_ID_DIRECT;
452
- buf[0x02 ] = HYPERX_ALLOY_FPS_COLOR_CHANNEL_EXTENDED;
453
- buf[0x03 ] = 0xA0 ;
454
-
455
- /* -----------------------------------------------------*\
456
- | Send packet |
457
- \*-----------------------------------------------------*/
458
- hid_send_feature_report (dev, buf, 264 );
459
- }
406
+ }
0 commit comments