patch-2.1.106 linux/arch/m68k/mac/mackeyb.c
Next file: linux/arch/m68k/mac/psc.h
Previous file: linux/arch/m68k/mac/macints.c
Back to the patch index
Back to the overall index
- Lines: 21
- Date:
Sat Jun 13 13:14:33 1998
- Orig file:
v2.1.105/linux/arch/m68k/mac/mackeyb.c
- Orig date:
Thu Mar 26 15:57:02 1998
diff -u --recursive --new-file v2.1.105/linux/arch/m68k/mac/mackeyb.c linux/arch/m68k/mac/mackeyb.c
@@ -600,13 +600,13 @@
volatile int ct;
/* setup key map */
- memcpy (plain_map, mac_plain_map, sizeof(plain_map));
- memcpy(shift_map, mac_shift_map, sizeof(shift_map));
- memcpy(altgr_map, mac_altgr_map, sizeof(altgr_map));
- memcpy(ctrl_map, mac_ctrl_map, sizeof(ctrl_map));
- memcpy(shift_ctrl_map, mac_shift_ctrl_map, sizeof(shift_ctrl_map));
- memcpy(alt_map, mac_alt_map, sizeof(alt_map));
- memcpy(ctrl_alt_map, mac_ctrl_alt_map, sizeof(ctrl_alt_map));
+ memcpy(key_maps[0], mac_plain_map, sizeof(plain_map));
+ memcpy(key_maps[1], mac_shift_map, sizeof(plain_map));
+ memcpy(key_maps[2], mac_altgr_map, sizeof(plain_map));
+ memcpy(key_maps[4], mac_ctrl_map, sizeof(plain_map));
+ memcpy(key_maps[5], mac_shift_ctrl_map, sizeof(plain_map));
+ memcpy(key_maps[8], mac_alt_map, sizeof(plain_map));
+ memcpy(key_maps[12], mac_ctrl_alt_map, sizeof(plain_map));
/* initialize mouse interrupt hook */
mac_mouse_interrupt_hook = NULL;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov