On Tue, 28 Mar 2023 18:59:26 +0100 Daniel P. Berrangé <berra...@redhat.com> wrote: > I'm generally not in favour of creating many different ways to set > the same thing, especially not multiple string based names, but if > a single vocabulary for strings is insufficient, then having support > for numbers feels reasonable.
If only a single way to set them would be allowed, I think that the hexadecimal number would make most sense as we are emulating dip-switches. However, it would be nice to also allow more easy to remember strings where applicable. > If you care about documentation then I think there ought to be docs > added in QEMU for it, as out of the 33 currrent keymap names supported > by QEMU, only 28 seem to be supported by this device. Maybe it could be documented by printing some text if given -global escc.sunkbd_layout=help or -global escc.sunkbd_layout=list Best regards Henrik