Re: Keycode for "main hardware button" on slate?

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

 



On Thu, 2011-03-10 at 00:00 -0800, Dmitry Torokhov wrote:
> On Mon, Mar 07, 2011 at 05:47:54PM +0000, Bastien Nocera wrote:
> > Heya,
> > 
> > I've installed Fedora 15 onto a WeTab slate, and it has 2 "hardware"
> > buttons. One is power (already used to come in and out of suspend), and
> > another one that I'd like to use to get the interface running on it to
> > go back to its "home" screen.
> > 
> > Any ideas what KEY_* I should use for this functionality?
> > 
> 
> Hmm, I am not sure. This will probably device specific, but I guess you
> could use KEY_COMPUTER or KEY_HOMEPAGE for this. Not ideal, but should
> do.

The problem is that I'd like that particular key to be used on devices,
which means 1) adding a XKeySym for that key 2) adding it to the default
keymaps, and 3) adding code in gnome-shell to handle that key.

KEY_COMPUTER is used to get to the "Computer" part of the file manager,
and KEY_HOMEPAGE to the home page in a web browser.

I think I'll go with Antonio's KEY_FRONT suggestion instead.

Cheers

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux