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

Function Pixel_pixelSet

Macro/PixelMap/pixel.c:2233–2240  ·  view source on GitHub ↗

Set each of the channels to a specific value

Source from the content-addressed store, hash-verified

2231
2232// Set each of the channels to a specific value
2233void Pixel_pixelSet( PixelElement *elem, uint32_t value )
2234{
2235 // Set each of the channels of the pixel
2236 for ( uint8_t ch = 0; ch < elem->channels; ch++ )
2237 {
2238 Pixel_channelSet( elem->indices[ch], value );
2239 }
2240}
2241
2242// Toggle given pixel element
2243// Debug function, used by cli only XXX

Callers 5

Pixel_clearPixelsFunction · 0.85
Pixel_processFunction · 0.85
Scan_capslockFunction · 0.85
Scan_scrolllockFunction · 0.85
Scan_numlockFunction · 0.85

Calls 1

Pixel_channelSetFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…