Is your feature request related to a problem? Please describe.
The keyboard implementation is currently using std::list which allocates and deallocates memory during operation.
Describe the solution you'd like
The keyboard should use a fixed capacity queue to avoid memory allocation and deallocation. The queue should be
oversized to avoid the situations where it's not possible to put keypresses into the queue.
Is your feature request related to a problem? Please describe. The keyboard implementation is currently using std::list which allocates and deallocates memory during operation.
Describe the solution you'd like The keyboard should use a fixed capacity queue to avoid memory allocation and deallocation. The queue should be oversized to avoid the situations where it's not possible to put keypresses into the queue.
Describe alternatives you've considered N/A
Additional context N/A.