MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / init_keypad

Function init_keypad

core/keypad.c:219–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217};
218
219eZ80portrange_t init_keypad(void) {
220 keypad.row = 0;
221
222 memset(keypad.data, 0, sizeof(keypad.data));
223
224 gui_console_printf("[CEmu] Initialized Keypad...\n");
225 return device;
226}
227
228bool keypad_save(FILE *image) {
229 return fwrite(&keypad, sizeof(keypad), 1, image) == 1;

Callers 1

plug_devicesFunction · 0.85

Calls 1

gui_console_printfFunction · 0.50

Tested by

no test coverage detected