2

Author Topic: key differences on LatinAmerican spanish keyboard layout  (Read 17528 times)

0 Members and 2 Guests are viewing this topic.

macgirl

  • Observer
  • Posts: 10
key differences on LatinAmerican spanish keyboard layout
« on: April 15, 2009, 12:24:13 AM »
When I modified the source code of ApplePS2Keyboard I found that LatinAmerican Spanish layout has differences on < > keys (greater than ,less than) they are interchange with | ° (pipe, degrees) on the European keyboard, even with english layouts it has those differences.

So where is the source code?

Thanks and great work.
« Last Edit: April 15, 2009, 12:26:48 AM by macgirl »

Kabyl

  • VoodooLabs
  • Posts: 158
Re: key differences on LatinAmerican spanish keyboard layout
« Reply #1 on: April 16, 2009, 12:24:31 PM »
When I modified the source code of ApplePS2Keyboard I found that LatinAmerican Spanish layout has differences on < > keys (greater than ,less than) they are interchange with | ° (pipe, degrees) on the European keyboard, even with english layouts it has those differences.

So where is the source code?

Thanks and great work.
http://chameleon.osx86.hu/file_download/24/VoodooPS2Controller-0.98-src.tar.gz

macgirl

  • Observer
  • Posts: 10
Re: key differences on LatinAmerican spanish keyboard layout
« Reply #2 on: April 16, 2009, 06:48:18 PM »
Thank you very much  ;D

EDIT:

this is basically the changes:
Code: [Select]
--- VoodooPS2Keyboard/ApplePS2ToADBMap.h 2009-02-14 08:20:54.000000000 -0600
+++ ApplePS2ToADBMap-LA.h 2009-04-16 11:57:35.000000000 -0500
@@ -70,7 +70,7 @@
     0x25,  // 26  L
     0x29,  // 27  ;:
     0x27,  // 28  '"
-    0x0a,  // 29  `~
+    0x32,  // 29  `~
     0x38,  // 2a  Left Shift
     0x2a,  // 2b  \|
     0x06,  // 2c  Z
@@ -115,7 +115,7 @@
     0x41,  // 53  Keypad Del
     0x44,  // 54  SysReq / Custom Calc
     0x46,  // 55 Custom Logout
-    0x32,  // 56 ¼\» (Spanish)
+    0x0a,  // 56 <> (Spanish)
     0x67,  // 57  F11
     0x6f,  // 58  F12
     DEADKEY,  // 59
« Last Edit: April 16, 2009, 07:32:10 PM by macgirl »

jjduro

  • Entrant
  • Posts: 8
Re: key differences on LatinAmerican spanish keyboard layout
« Reply #3 on: April 23, 2009, 05:53:29 PM »
We have the same problem with Brazilian Portuguese (South America - ANBT) and Portuguese from Portugal (Pt, EUROPE, of course :P )

gustavolessa

  • Observer
  • Posts: 13
Re: key differences on LatinAmerican spanish keyboard layout
« Reply #4 on: April 28, 2009, 12:13:08 AM »
We have the same problem with Brazilian Portuguese (South America - ANBT) and Portuguese from Portugal (Pt, EUROPE, of course :P )


I'm also from Brazil and our keyboards (ABNT2) have the / ? (slash and question mark while shifted) next to the right shift key, and \ | next to the left shift.

lebidou sent me a kext with the corrections you made. Now, my \ | key that was unactive became active. But the /? don't.

Anyone knows what should be changed to this key work?

Thanks!
Gustavo

marreco

  • Entrant
  • Posts: 1
Re: key differences on LatinAmerican spanish keyboard layout
« Reply #5 on: July 09, 2009, 05:47:23 PM »
Hi macgirl how i can know what is the hexacode for my keyboard key

On my hackbook i have a abnt2 keyboard and would like to port this to work

the keys |\ are changed with '~
and the key /? are sending a enter command

So how can i identify this to make the changes ?

Thank you very much  ;D and sorry for my english

EDIT:

this is basically the changes:
Code: [Select]
--- VoodooPS2Keyboard/ApplePS2ToADBMap.h 2009-02-14 08:20:54.000000000 -0600
+++ ApplePS2ToADBMap-LA.h 2009-04-16 11:57:35.000000000 -0500
@@ -70,7 +70,7 @@
     0x25,  // 26  L
     0x29,  // 27  ;:
     0x27,  // 28  '"
-    0x0a,  // 29  `~
+    0x32,  // 29  `~
     0x38,  // 2a  Left Shift
     0x2a,  // 2b  \|
     0x06,  // 2c  Z
@@ -115,7 +115,7 @@
     0x41,  // 53  Keypad Del
     0x44,  // 54  SysReq / Custom Calc
     0x46,  // 55 Custom Logout
-    0x32,  // 56 ¼\» (Spanish)
+    0x0a,  // 56 <> (Spanish)
     0x67,  // 57  F11
     0x6f,  // 58  F12
     DEADKEY,  // 59

« Last Edit: July 09, 2009, 05:49:48 PM by marreco »

BANKAI

  • Entrant
  • Posts: 1
Re: key differences on LatinAmerican spanish keyboard layout
« Reply #6 on: July 22, 2009, 10:13:49 AM »
Hi macgirl and others!

Can post kext's compiled? Please  ;D

I haven't idea of compiling the source code... I need xcode for this?
No dejes nunca de sonreir. Never lost you smile.

foxmoy

  • Entrant
  • Posts: 1
Re: key differences on LatinAmerican spanish keyboard layout
« Reply #7 on: January 14, 2011, 02:41:17 PM »
I tried compiling and got
IOService::lookupInterrupt private error.

I understand what that means, but I am not entirely sure what the appropriate fix is.. Anyone?

Would love to have working tilde back...

Thanks...

foxy

ebermelho

  • Entrant
  • Posts: 1
Re: key differences on LatinAmerican spanish keyboard layout
« Reply #8 on: February 09, 2012, 06:22:36 PM »
I have to write in different languages, so I use the american international (with dead-keys PC style) as my keyboard.
When I changed from Apple PS/2 to Voodoo I noted that I lost the `/~ key.
Upon checking the return code i discovered that the reason is that Voodoo PS2 returns a different (wrong?) keycode.
Apple returns 50 and the placement of the key is correct both for the ANSI keyboard (on the left of the 1/! key) as for the ISO keyboard (between left shift and the Z key).
Voodoo on the other hand returns 10 for the same key. For the moment I downloaded Ukelele and remaped a new keyboard, but it is not ideal since I lost CMD+` to switch among open windows...

Is there any solution without changing the source code and recompiling?