WayfireWM / wf-osk

A very, very basic on-screen keyboard using gtkmm, virtual-keyboard-v1 and layer-shell protocols
MIT License
26 stars 4 forks source link

feature request keyboard layouts/.Xcompose #13

Open cptn-cosmo opened 1 month ago

cptn-cosmo commented 1 month ago

it would be nice if we could change the keyboard layout, preferably with a button on the osk itself. ideally we could provide a list of keyboard layouts/languages to cycle through. this could also be used to provide an emoji keyboard perhaps.

as an alternate/additional solution, implementing .XCompose support might also work

ammen99 commented 1 month ago

This is a nice idea but it would require significant work because currently we just have a hardcoded list of keycodes, so we probably need to use a different keymap in the virtual keyboard protocol which contains all of the symbols, and it would also be more difficult to figure out where to place all the symbols in the different layouts. I would accept PRs but otherwise do not plan to implement it myself :/