Author Topic: Dosbox And Scan Codes  (Read 4483 times)

Lisztfr

  • Newbie
  • *
  • Posts: 35
    • View Profile
Dosbox And Scan Codes
« on: October 02, 2010, 03:57:18 am »
Hi,

Running Cacko linux, it' very difficult to get the scan codes from the keyboard : Showkeys, or keydump (console utils) are not available.

I tried some mapper setting, but imho mapper.txt is ignored.

in Dosbox.conf :

mapperfile = mapper.txt

in this file i set change the key 1, from 96 to 97 but it didn't work.

Then i tried xbeyb : following key file fixed keys from 2 to 0 :

[Comment]
French keyboard layout. Codepages 850/858 (Euro).

[KEYS]
  2 ! 1 #0 #0 #0
  3 " 2 #0 #0 !C2
  4 #35 3 #0 #0 #35
  5 $ 4 #0 #0 {
  6 % 5 #27 #0 [
  7 & 6 #31 #0 |
  8 ' 7 #0 #0 !C1
  9 ( 8 #28 #0 \
 10 ) 9 #0 #0 ^

 50 , ? #0 #0 #0
 51 ; . #0 #0 <
 52 : / #0 #0 >
 53 #33 õ #0 #0 #0
 86 < > #0 #0 #0

[SHIFTS]
54  42  29  56  70  69  58  82

[Combi]
` a… eŠ i o• u— A· EÔ IÞ Oã Uë #32`
~ aÆ n¤ oä AÇ N¥ Oå #32~
^ aƒ eˆ iŒ o“ u– A¶ EÒ I× Oâ Uê #32^
ù a„ e‰ i‹ o” u y˜ AŽ EÓ IØ O™ Uš #32ù


==============================

strangely the key ! 1 is silent now... M-m is wrong (key 50). I would need the scan codes for the entire keyboard

Any help would be appreciated,

L