Jump to content

Can't set PS2 Keyboard to ISO


  • Please log in to reply
22 replies to this topic

#21
macgirl

macgirl

    Stargate's Pharaoh

  • Retired
  • 7,615 posts
  • Gender:Female
  • Location:Mexico City
  • Interests:Techie gadgets
http://www.opensourc...m/darwinsource/

#22
yushir

yushir

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts
I'm using the last version that's on opensource.apple.com (the one of 10.4.3) (PS2Controller v.8, PS2Keyboard v.9, PS2Mouse v.10 and PS2Trackpad v.9, i get a 404 Not found error when trying to acces the v.9,v,10,v.11 and v.10 versions) and i'm trying to implement multimedia codes:

0xe1 0x1d 0x45 0xe1 0x9d 0xc5 PAUSE

0x1d 0xe1 0x1d 0x45 0xe1 0x9d 0xc5 0x9d INTER


0xe0 0x2a 0xe0 0x37 0xe0 0xaa 0xe0 0xb7 PET SIS
0xe0 0x2a 0xe0 0x37 0xe0 0xaa 0xe0 0xb7 IMPR PA


As you can see Pause and Interrruption have the same identifier (0x45) i'm looking how to get them both apart (cuz i get pause mapped to f15 but inter doens't get mapped).



The other two... well i can't get it! Two keys have the same raw code... i know that pet sis (sys req) is deprecated but at least it should map both codes to the same key... it doesn't. I get Impr Pa (Print Scrn) mapped to Ctrl+Shift+3 then F13 (First does Ctrl.... and then F13). Well i think i've solved that by changing ctrl to Command and anulating the F13 throw.

Anyway... i'd like to know how to change the first group, i think the second group will be impossible to map.



Any help is appreciated :(.

PD: Here's the raw codes i got from linux

kb mode was UNICODE
[ if you are trying this under X, it might not work
since the X server is also reading /dev/console ]

press any key (program terminates 10s after last keypress)...
0x3b 0xbb F1
0x3c 0xbc F2
0x3d 0xbd F3
0x3e 0xbe F4
0x3f 0xbf F5
0x40 0xc0 F6
0x41 0xc1 F7
0x42 0xc2 F8
0x43 0xc3 F9
0x44 0xc4 F10
0x57 0xd7 F11
0x58 0xd8 F12
0x46 0xc6 BLOQ DESPL / DESPL
0xe1 0x1d 0x45 0xe1 0x9d 0xc5 PAUSE
0xe0 0x52 0xe0 0xd2 INS
0xe0 0x53 0xe0 0xd3 SUPR

WITH FN KEY (INVERSE ORDER)
0xe0 0x2a 0xe0 0x37 0xe0 0xaa 0xe0 0xb7 PET SIS / SYS REQ (FN + F1)
0xe0 0x2a 0xe0 0x37 0xe0 0xaa 0xe0 0xb7 IMPR PA / PRINT SCRN
0x1d 0xe1 0x1d 0x45 0xe1 0x9d 0xc5 0x9d INTER
0x45 0xc5 BLQ NUM
0xe0 0x30 0xe0 0xb0 0xe0 0x30 0xe0 0xb0 SOUND UP
0xe0 0x2e 0xe0 0xae 0xe0 0x2e 0xe0 0xae SOUND DOWN
0xe0 0x20 0xe0 0xa0 SOUND MUTE
0xe0 0x54 0xe0 0xd4 BRIGHTNESS UP
0xe0 0x4c 0xe0 0xcc BRIGHTNESS DOWN
0xe0 0x12 0xe0 0x92 LOCK
0xe0 0x5f 0xe0 0xdf SLEEP
0xe0 0x56 0xe0 0xd6 WIDESCREEN
0xe0 0x32 0xe0 0xb2 BROWSER
0x1d 0x19 0x99 0x9d PRINT
0xe0 0x75 0xe0 0xf5 HELP (FN + F1)
0xe0 0x5d 0xe0 0xdd APPLICATION

I'm using the integrated keyboard of a Compaq 6720s (Europe). Also, i've though on calling directly to AppleBacklight to reduce screen brightness instead of mapping both keys to empty ones, due to the lack of empty keys.

#23
yushir

yushir

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 126 posts
Plus i've got these scancodes from the console:


0x5b 0x5b 0x3d = Fn + f3
0x3e = Fn + F4
0x40 = Fn + F6
0x54 0x54 = Sys Req
0x70 0x2a 0x5 = Impr Pant
0x1d 0x1d = Left Ctrl (Interrupt)
0x1d 0x2e 0x1d 0x2e = Pause
0x46 = despl
0x45 = bloq num





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2015 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy