67,18 → 67,6 |
|
/** offset within the SGCN buffer of the input buffer write pointer */ |
uint32_t in_wrptr; |
|
/** offset within the SGCN buffer of the output buffer start */ |
uint32_t out_begin; |
|
/** offset within the SGCN buffer of the output buffer end */ |
uint32_t out_end; |
|
/** offset within the SGCN buffer of the output buffer read pointer */ |
uint32_t out_rdptr; |
|
/** offset within the SGCN buffer of the output buffer write pointer */ |
uint32_t out_wrptr; |
} __attribute__ ((packed)) sgcn_buffer_header_t; |
|
/* |
125,8 → 113,6 |
0, (void *) 0); |
} |
|
|
|
/** |
* Handler of the "key pressed" event. Reads codes of all the pressed keys from |
* the buffer. |
153,7 → 139,6 |
if (c == '\r') { |
c = '\n'; |
} |
//keybuffer_push(&keybuffer, c); |
kbd_process_no_fb(&keybuffer, c); |
} |
} |