Lines Matching refs:_usb_2_adb_keymap
92 bcopy(hid_usb_2_adb_keymap, _usb_2_adb_keymap, sizeof(unsigned int ) * ADB_CONVERTER_LEN);
127 temp = _usb_2_adb_keymap[0x39]; //Caps lock
128 _usb_2_adb_keymap[0x39] = _usb_2_adb_keymap[0xe0]; //Left CONTROL modifier
129 _usb_2_adb_keymap[0xe0] = temp;
141 temp = _usb_2_adb_keymap[0xe2]; //left alt
142 _usb_2_adb_keymap[0xe2] = _usb_2_adb_keymap[0xe3]; //Left command modifier
143 _usb_2_adb_keymap[0xe3] = temp;
145 temp = _usb_2_adb_keymap[0xe6]; //right alt
146 _usb_2_adb_keymap[0xe6] = _usb_2_adb_keymap[0xe7]; //right command modifier
147 _usb_2_adb_keymap[0xe7] = temp;
160 temp = _usb_2_adb_keymap[0xe0]; // Save left control
161 _usb_2_adb_keymap[0xe0] = _usb_2_adb_keymap[0xe2]; // Left control becomes left alt(option)
162 _usb_2_adb_keymap[0xe2] = _usb_2_adb_keymap[0xe3]; // Left alt becomes left flower(start)
163 _usb_2_adb_keymap[0xe3] = temp; // Left flower becomes left control
165 temp = _usb_2_adb_keymap[0xe6]; // Save right alt
166 _usb_2_adb_keymap[0xe6] = _usb_2_adb_keymap[0xe7]; // Right alt becomes right flower
167 _usb_2_adb_keymap[0xe4] = temp; // Right control becomes right alt
235 if ( alpha >= sizeof(_usb_2_adb_keymap) ) {
240 keycode = _usb_2_adb_keymap[alpha];
420 _usb_2_adb_keymap[0x35] = 0x0a;
421 _usb_2_adb_keymap[0x64] = 0x32;
424 _usb_2_adb_keymap[0x35] = 0x32;
425 _usb_2_adb_keymap[0x64] = 0x0a;