Re: Key Codes for setkeycodes

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

 



On 12/12/05, William Case <billlinux@xxxxxxxxxx> wrote:
> Hi Dotan;
>
> On Mon, 2005-12-12 at 16:06 -0500, William Case wrote:
> > Hi Dotan;
> [snip]
> > On Mon, 2005-12-12 at 22:46 +0200, Dotan Cohen wrote:
> > > Back on my own machine!
> > >
> > > What are the key codes for 'setkeycodes'? I have a few buttons on my
> > > keyboard that I would like to enable. When I press them in a console,
> > > I get an error which tells me to set them with setkeycodes. However,
> > > "man setkeycodes" had no information as to what keycodes do what
> > > (specifically, scroll up and down). Googling led me the command
> > > getkeycodes, which despite its name, didn't provide me with any useful
> > > information. And showkey just scared me out of any further
> > > experimentation!
> > >
> > > Dotan Cohen
>
> By the way, try dumpkeys, and getkeycodes to see what keys are available
> and what their scancodes and keycodes are.  Best to do it in a
> non-xwindows console (ie Ctrl-Alt-Fn (n = 1-6)).
>
> Regards Bill
>

Thanks, Bill. Despite the showleys episode, I have managed to assign
functionality to a scrollbar on my A4 keyboard. When I scroll up, I
have assigned key code 103 (up arrow key) and when I scroll down,
keycode 108 (down arrow key). Which work great, but there is a flaw!
The scroll sends the press command, but not the release command! So if
i start scrolling, it doesn't stop! I'm still squeezing google for the
solution to this, but I haven't found any other cases of this, much
less any solutions. If you could point me in the right direction, I
would most appreciate it.

The keyboard is an A4 RFKB-25 model: wireless multimedia keyboard that
came with a wireless optical mouse. KDE 3.4 was nice enough to
recognize the volume keys and tie them into the system volume.
However, the scroll wheel on the keyboard is useless in graphical mode
(F7), and throws a request to set it in console mode (F1-F6). The
scroll wheel on the mouse works fine.

I'd love to get that scroll wheel on the keyboard working as pretty
much the only thing that I do with the mouse is scroll- I think that
the mouse is a horrible human interface device for text-based tasks.

Dotan Cohen
http://technology-sleuth.com/technical_answer/what_are_the_advantages_of_lcd_monitors.html


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux