[Qemu-devel] [PATCH 0/1] input-linux: customizable grab toggle keys v5

2019-01-23 Thread Ryan El Kochta
ifier: $ xmodmap -e 'remove modX = Scroll_Lock' If Scroll_Lock is not bound to any modifier, it is already disabled. To save the changes, add them to your xinitrc. Ryan El Kochta (1): input-linux: customizable grab toggle keys v5 qapi/ui.json | 10 ui/inp

[Qemu-devel] [PATCH 1/1] input-linux: customizable grab toggle keys v5

2019-01-23 Thread Ryan El Kochta
The latest revision of the input-linux customizable grab toggle keys patch. Signed-off-by: Ryan El Kochta --- qapi/ui.json | 10 ui/input-linux.c | 66 +--- 2 files changed, 73 insertions(+), 3 deletions(-) diff --git a/qapi/ui.json b

[Qemu-devel] [PATCH] input-linux: customizable grab toggle keys v5

2019-01-22 Thread Ryan El Kochta
. I've tested these on a Windows and Linux guest and they all appear to work fine. Quick aside; I'm sorry if this e-mail isn't a reply to the old thread. I haven't quite figured that one out yet :-) Signed-off-by: Ryan El Kochta --- qapi/ui.json | 10 u

[Qemu-devel] [PATCH] input-linux: customizable grab toggle keys v4

2019-01-20 Thread Ryan El Kochta
emove modX = Scroll_Lock' If Scroll_Lock is not bound to any modifier, it is already disabled. To save the changes, add them to your xinitrc. Side note - I have changed e-mail addresses from lightn1ngstr...@protonmail.com due to issues with git send-mail. I am the same person. Signed-off-by: Ryan El Ko

[Qemu-devel] [PATCH] input-linux: customizable grab toggle keys v3

2018-09-03 Thread Ryan El Kochta via Qemu-devel
is not specified or malformed, the current default of lctrl+rctrl will be used. If scrolllock is selected as one of the grab_toggle keys, it will be entirely disabled and not passed to the guest at all. This is to prevent enabling it while attempting to leave or enter the

Re: [Qemu-devel] [PATCH] input-linux: toggle for lock keys

2018-09-03 Thread Ryan El Kochta via Qemu-devel
On September 3, 2018 2:29 AM, Gerd Hoffmann wrote: > On Fri, Aug 31, 2018 at 01:31:06PM +0000, Ryan El Kochta wrote: > > > On Aug 31, 2018, 2:07 AM, Gerd Hoffmann wrote: > > Hi, > > > > > That's a wonderful idea. Would you be comfortable with > > &g

Re: [Qemu-devel] [PATCH] input-linux: toggle for lock keys

2018-08-31 Thread Ryan El Kochta via Qemu-devel
dition to a few hardcoded sane defaults. Thanks, Ryan El Kochta

Re: [Qemu-devel] [PATCH] input-linux: toggle for lock keys

2018-08-30 Thread Ryan El Kochta via Qemu-devel
On August 30, 2018 6:51 AM, Gerd Hoffmann wrote: > On Mon, Aug 27, 2018 at 01:49:22PM +0000, Ryan El Kochta wrote: > > > I personally use the Scroll Lock key. On Linux, Scroll Lock (along > > with all the other lock keys) is easy to disable with an xmodmap > > command. On

Re: [Qemu-devel] [PATCH] input-linux: toggle for lock keys

2018-08-27 Thread Ryan El Kochta via Qemu-devel
from QEMU. Original Message On Aug 27, 2018, 6:16 AM, kra...@redhat.com wrote: > On Thu, Aug 23, 2018 at 01:23:20AM +0000, Ryan El Kochta wrote: >> This patch introduces three new options on the input-linux commandline: >> >> (a) ignore_caps_lock=[on|off] >&g

[Qemu-devel] [PATCH] input-linux: customizable toggle keys v2

2018-08-23 Thread Ryan El Kochta via Qemu-devel
-headers/linux/input-event-codes.h and are prefixed with KEY_. If the option is malformed or not specified, it will use the current default of KEY_LEFTCTRL + KEY_RIGHTCTRL. Sending once again as v2 as I forgot to sign off the last one. Signed-off-by: Ryan El Kochta --- ui/input-linux.c | 136

[Qemu-devel] [PATCH] input-linux: customizable toggle keys

2018-08-23 Thread Ryan El Kochta via Qemu-devel
This patch introduces a new string option to the input-linux commandline: toggle_keys=[num]:[num]:[num] ... Separated by colons, toggle_keys allows the user to specify the key IDs of all the keys desired for switching between the guest and host. These key IDs can be found in: include/standard-he

[Qemu-devel] [PATCH] input-linux: toggle for lock keys

2018-08-22 Thread Ryan El Kochta via Qemu-devel
quire pressing the key more than twice. I'm new to this, so if I've made a mistake, let me know ;-) Signed-off-by: Ryan El Kochta --- ui/input-linux.c | 80 ++-- 1 file changed, 78 insertions(+), 2 deletions(-) diff --git a/ui/input-linux.c b/ui/inpu