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

Function Scan_loop

Scan/ICPad/scan_loop.c:79–97  ·  view source on GitHub ↗

Main Detection Loop

Source from the content-addressed store, hash-verified

77
78// Main Detection Loop
79inline uint8_t Scan_loop()
80{
81 // Port Swap detection
82 Port_scan();
83
84 // Scan Matrix
85 Matrix_scan( Scan_scanCount++ );
86
87 // Process any interconnect commands
88 Connect_scan();
89
90 // Prepare any LED events
91 Pixel_process();
92
93 // Process any LED events
94 LED_scan();
95
96 return 0;
97}
98
99
100// Signal from Macro Module that all keys have been processed (that it knows about)

Callers

nothing calls this directly

Calls 5

Port_scanFunction · 0.85
Matrix_scanFunction · 0.85
Connect_scanFunction · 0.85
Pixel_processFunction · 0.85
LED_scanFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…