qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] Qemu (linux) and keymaps
@ 2006-05-30 21:37 Harrison Metzger
  2006-05-30 22:45 ` Jim C. Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Harrison Metzger @ 2006-05-30 21:37 UTC (permalink / raw)
  To: qemu-devel

Hello. I'm not sure if this is the right place to report a possible bug. I'm 
running Gentoo Linux with qemu 0.8.0 without kqemu. I use a dvorak keyboard 
by having this line in my xorg.conf file:
		Option          "XkbLayout" "dvorak"
My x11 server is xorg 6.8.2-r7.
My bug is when I try to toggle fullscreen with the ctrl+alt+f shortcut nothing 
happens. So I tried ctrl+alt+u (because on dvorak u is where the f is) and it 
worked. So it appears as if qemu is using raw scancodes instead or keys. I 
looked at the man page (after googling a bit) and it says I should not have 
to use the language (-k) option since I have PC linux. But even if I did 
there is no dvorak keymap available. This bug is minor because it took 15 
seconds to figure out to hit ctrl+alt+u and because there are not that many 
users of the dvorak keyboard. But it would be nice to have a dvorak keymap 
just for the sake of completion on your wonderful project.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] Qemu (linux) and keymaps
  2006-05-30 21:37 [Qemu-devel] Qemu (linux) and keymaps Harrison Metzger
@ 2006-05-30 22:45 ` Jim C. Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Jim C. Brown @ 2006-05-30 22:45 UTC (permalink / raw)
  To: qemu-devel

On Tue, May 30, 2006 at 04:37:50PM -0500, Harrison Metzger wrote:
> My bug is when I try to toggle fullscreen with the ctrl+alt+f shortcut nothing 
> happens. So I tried ctrl+alt+u (because on dvorak u is where the f is) and it 
> worked. So it appears as if qemu is using raw scancodes instead or keys.

Yes, qemu uses X keycodes instead of X keysyms.

> I 
> looked at the man page (after googling a bit) and it says I should not have 
> to use the language (-k) option since I have PC linux. But even if I did 
> there is no dvorak keymap available.

This isn't entirely true - some users of PC linux will need to use a keymap
file.

Generally this is whenever you need to redefine the meaning of a keycode (as
the dvorak keyboard layout does).

> This bug is minor because it took 15 
> seconds to figure out to hit ctrl+alt+u and because there are not that many 
> users of the dvorak keyboard. But it would be nice to have a dvorak keymap 
> just for the sake of completion on your wonderful project.

Should be easy enough for someone (such as yourself) to make one.

qemu's keymap layout is quite simple and you can figure out the mapping
between keys and keycodes via xev or xmodmap.

> 
> 
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
> 

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-30 22:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-30 21:37 [Qemu-devel] Qemu (linux) and keymaps Harrison Metzger
2006-05-30 22:45 ` Jim C. Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).