Re: Setting keyboard autorepeat rate with xkb?

2013-04-01 Thread Tony Bones
That's all great info which will work for almost everyone out there.  But I
have two keyboards and need to set different auto repeat rates for
each independently.  Currently I'm still using the kbd driver and can
certainly switch over to evdev and InputClass.  I didn't see a way xset
would target a specific keyboard / input device.  So I started looking for
an xorg.config way, which led me here.  Any ideas?
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: Setting keyboard autorepeat rate with xkb?

2013-04-01 Thread Alan Coopersmith
On 04/ 1/13 01:05 PM, Tony Bones wrote:
 But I have two keyboards and need to set different auto repeat rates for each 
 independently.  Currently I'm still using the kbd driver and can certainly 
 switch over to evdev and InputClass.  I didn't see a way xset would target a 
 specific keyboard / input device.

The xinput command provides per-device settings, but I don't see auto
repeat rates in the properties the kbd driver exposes.   I don't have
an evdev machine booted at the moment to check if it has an auto-repeat
rate property.

-- 
-Alan Coopersmith-  alan.coopersm...@oracle.com
 Oracle Solaris Engineering - http://blogs.oracle.com/alanc
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Setting keyboard autorepeat rate with xkb?

2013-04-01 Thread Peter Hutterer
On Mon, Apr 01, 2013 at 01:27:49PM -0700, Alan Coopersmith wrote:
 On 04/ 1/13 01:05 PM, Tony Bones wrote:
  But I have two keyboards and need to set different auto repeat rates for 
  each independently.  Currently I'm still using the kbd driver and can 
  certainly switch over to evdev and InputClass.  I didn't see a way xset 
  would target a specific keyboard / input device.
 
 The xinput command provides per-device settings, but I don't see auto
 repeat rates in the properties the kbd driver exposes.   I don't have
 an evdev machine booted at the moment to check if it has an auto-repeat
 rate property.

it doesn't. autorepeat is handled by XKB and xinput doesn't expose xkb
settings. You really need something like xkbctrl which, on a quick glance,
supports a device ID:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/xkbctrl/xkbctrl.c

Cheers,
   Peter
___
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com