[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v4 4/4] hw/input/adb.c: implement QKeyCode suppo

From: Programmingkid
Subject: Re: [Qemu-devel] [PATCH v4 4/4] hw/input/adb.c: implement QKeyCode support
Date: Tue, 15 Mar 2016 11:24:41 -0400

On Mar 15, 2016, at 5:22 AM, Peter Maydell wrote:

> On 14 March 2016 at 23:06, Programmingkid <address@hidden> wrote:
>> On Mar 13, 2016, at 11:40 AM, Peter Maydell wrote:
>>> Also, you need to handle the power-key key-release
>>> scancode; as far as I can tell (by looking for info via
>>> google about the ADB protocol) power-key-down is
>>> 0x7f 0x7f, and power-key-up is 0xff 0xff. (This is
>>> kind of weird and suggests we should just take option
>>> (a) and special case the power key completely.)
>> The power-key-up (break) keycode is 0xff 0xff? Could you send me your
>> source for this information?
> https://developer.apple.com/legacy/library/technotes/hw/hw_01.html
> (section "Apple Keyboard Protocol").
> Power-key is a weird one both for key-up and key-down.

I did several tests and found out that the USB keyboard actually works a lot 
better than the ADB keyboard. Would you accept a patch that changes the default 
keyboard and mouse to USB for the Mac99 target? This target will always have 
USB available. USB peripherals are what the real counterpart uses. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]