[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM
From: |
Glauber Costa |
Subject: |
Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM |
Date: |
Wed, 21 Oct 2009 14:24:08 -0200 |
On Wed, Oct 21, 2009 at 2:04 PM, Mulyadi Santosa
<address@hidden> wrote:
> On Wed, Oct 21, 2009 at 8:52 PM, Glauber Costa <address@hidden> wrote:
>> Why don't we provide a mechanism to make a macro out of a sequence of
>> monitor commands, and let the user assign whatever he wants out of that?
>
> Presto! never thought about that....what are we supposed to do in
> order to provide such mechanism? Who knows, perhaps I can lend a hand
> (again) here....
You can provide a monitor command to do that
something in the lines of:
- add_macro <key> <command_list>
- remove_macro <key>
- list_macros
then you could keep the assigned keys in a list, and convert the
command list to a list of functions and arguments.
For compatibility, the current assigned keystrokes would be then
converted to default macros, that could be removed,
if requested
It would be nice if you could find a way to update it on all displays,
not only SDL, at once.
this requires a little bit more work than what you did, but at least
from my point of view,
would be a nice feature, and overcome the limitations that people mentioned.
--
Glauber Costa.
"Free as in Freedom"
http://glommer.net
"The less confident you are, the more serious you have to act."
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, (continued)
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Mulyadi Santosa, 2009/10/19
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Kevin Wolf, 2009/10/20
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Anthony Liguori, 2009/10/20
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Daniel P. Berrange, 2009/10/20
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Mulyadi Santosa, 2009/10/20
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Kevin Wolf, 2009/10/21
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Glauber Costa, 2009/10/21
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Mulyadi Santosa, 2009/10/21
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM,
Glauber Costa <=
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Mulyadi Santosa, 2009/10/21
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Glauber Costa, 2009/10/21
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Jamie Lokier, 2009/10/21
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Luiz Capitulino, 2009/10/22
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Kevin Wolf, 2009/10/22
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Luiz Capitulino, 2009/10/22
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Anthony Liguori, 2009/10/22
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Luiz Capitulino, 2009/10/22
- Re: [Qemu-devel] [PATCH] new SDL keyboard shortcuts to start and stop VM, Anthony Liguori, 2009/10/22
- Message not available
- [Qemu-devel] Re: [PATCH] new SDL keyboard shortcuts to start and stop VM, Kevin Wolf, 2009/10/23