MCPcopy Create free account
hub / github.com/kiibohd/controller / Pixel_Pixel_capability

Function Pixel_Pixel_capability

Macro/PixelMap/pixel.c:365–389  ·  view source on GitHub ↗

XXX (HaaTa): TODO

Source from the content-addressed store, hash-verified

363
364// XXX (HaaTa): TODO
365void Pixel_Pixel_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args )
366{
367 CapabilityState cstate = KLL_CapabilityState( state, stateType );
368
369 switch ( cstate )
370 {
371 case CapabilityState_Initial:
372 // Only use capability on press
373 break;
374 case CapabilityState_Debug:
375 // Display capability name
376 print("Pixel_Pixel_capability(pixel,chan,value)");
377 return;
378 default:
379 return;
380 }
381
382 /*
383 PixelChange change = *(PixelChange*)(&args[0]);
384 uint16_t channel = *(uint16_t*)(&args[1]);
385 uint32_t value = *(uint32_t*)(&args[3]);
386 */
387
388 // TODO (HaaTa) Apply the channel modification
389}
390
391void Pixel_AnimationControl_capability( TriggerMacro *trigger, uint8_t state, uint8_t stateType, uint8_t *args )
392{

Callers

nothing calls this directly

Calls 1

KLL_CapabilityStateFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…