Author Topic: Keyboard map questions  (Read 543 times)

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Keyboard map questions
« on: 27 December 2002, 03:30 »
alright.
Just a couple general questions that i havent found the answer to.

What is the "defkeymap.map" is it the us layout or is it just copied from whatever layout you choose (when running kbdconfig)??

Is there some way to put specific commands in the keymaps. I know you can put something like this in the map (or use "loadkeys":
keycode 125 = Decr_Console
keycode 126 = Incr_Console

and that would set the windows and menu keys to go to last console or go to next console. But is there someway to make it do a command like "mail" or something (with arguments).

[ December 26, 2002: Message edited by: The Master of Reality / B0b ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
Keyboard map questions
« Reply #1 on: 27 December 2002, 06:29 »
just to add to M0R's ?'s

how do i read raw keyboard input. and does anybody else have one of those yahoo usb internet keyboards. im already using the multimedia keys with xmms, and the world wide web button opens mozilla and the email button opens the internet, and the poweroff button runs xlock. but the Y! button isn't picked up along witht he short cut keys. for hte record im using xhkeys
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
Keyboard map questions
« Reply #2 on: 27 December 2002, 06:40 »
run "showkey" on the console. Then hit the key you want the code for.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
Keyboard map questions
« Reply #3 on: 27 December 2002, 08:12 »
ok, thanx so far...
how do i get X11 to see keypress's past 255
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!

choasforages

  • VIP
  • Member
  • ***
  • Posts: 1,729
  • Kudos: 7
    • http://it died
Keyboard map questions
« Reply #4 on: 10 January 2003, 04:53 »
well????
x86: a hack on a hack of a hackway
alpha, hewlett packed it A-way
ppc: the fruity way
mips: the graphical way
sparc: the sunny way
4:20.....forget the DMCA for a while!!!