Skip to content
Snippets Groups Projects
Commit ed903510 authored by Johannes Marbach's avatar Johannes Marbach
Browse files

Highlight keys when clicking or tapping

This commit inverts the background / foreground color of keys upon
clicking and tapping. Since this requires frequent updates of the
keyboard textures, they were converted to streaming access mode.
When clicking or tapping a key, its area is recreated inside the
surface (taking the selection state into account) and then copied
into the texture.

This is a stopgap towards closing #12.
parent 885288bc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment