MCPcopy Create free account
hub / github.com/BlitterStudio/amiberry / draco_keycode

Function draco_keycode

src/draco.cpp:1349–1358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1347}
1348
1349void draco_keycode(uae_u16 scancode, uae_u8 state)
1350{
1351 if (currprefs.cs_compatible == CP_DRACO && (currprefs.cpuboard_settings & 0x10)) {
1352 if (draco_kbd_buffer_len == 0 && !(draco_reg[3] & DRSTAT_KBDRECV)) {
1353 draco_key_process(scancode, state);
1354 } else {
1355 draco_kbd_in_buffer[draco_kbd_in_buffer_len++] = scancode | (state ? 0x8000 : 0x00);
1356 }
1357 }
1358}
1359
1360static void draco_hsync(void)
1361{

Callers 2

inputdevice_hsyncFunction · 0.85
inputdevice_draco_keyFunction · 0.85

Calls 1

draco_key_processFunction · 0.85

Tested by

no test coverage detected