From: Markus Armbruster Subject: Re: [PATCH 0/2] PV framebuffer Date: Fri, 24 Nov 2006 09:15:19 +0100 Message-ID: <87zmah5kh4.fsf@pike.pond.sub.org> References: <87odrfptrb.fsf@pike.pond.sub.org> <1f5601c70d2d$1d805eb0$dab2220a@VF03007L> <87ejrxbb6h.fsf@pike.pond.sub.org> <20061121094358.GD20850@leeni.uk.xensource.com> <260701c70e2b$ff273290$dab2220a@VF03007L> <87y7q38v7y.fsf@pike.pond.sub.org> <015c01c70f6b$dfe56aa0$dab2220a@VF03007L> Mime-Version: 1.0 Content-Type: text/plain; charset=euc-jp Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <015c01c70f6b$dfe56aa0$dab2220a@VF03007L> (Kasai Takanori's message of "Fri, 24 Nov 2006 10:54:58 +0900") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Kasai Takanori Cc: xen-devel , Ewan Mellor List-Id: xen-devel@lists.xenproject.org "Kasai Takanori" writes: > Hi Markus and Ewan, > >>> I confirmed it with paraVM image made by virt-manager on RHEL5=A6=C22. = The >>> keyboard used for the input is Japanese keyboard.(jp106) The key input >>> as follows is input by mistake. >>> >>> @ -> 2 >>> : -> ; >>> ' (shift+7) -> " >>> =3D -> + >>> >>> I think that it cannot use except for 101 keyboard. >> >> VNC or SDL? >> >> vncfb is expected to behave strangely unless you use the US keymap. > > Sorry, I was not answering your question. > I am talking about vncfb. > > The function to select keyboard layout is provided in qemu-dm. > I contributed the patch to select keyboard layout from configuration > file the other day. > > >>I think you could steal the keymaps from QEMU, and the parsing and transl= ation >>code. That would be good, because we would have only one set of keymaps = to >>maintain. That translation between VNC's X11 keysyms and the appropriate >>scancode has been all written once (for QEMU's VNC frontend), so it would= be >>good if you could take advantage of that. > > It is necessary to transplant the function that convert > between VNC's X11 keysyms and the appropriate scancode from qemu-dm. > > Should I do it? I take free, working, maintainable code any day :) I'd love to see LibVNCServer replaced by the QEMU VNC code alltogether. I haven't found the time to look into this myself. Perhaps that would be an even better use of your time.