Changeset e8d77a4 in mainline
- Timestamp:
- 2006-06-07T13:35:15Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b7e9c34
- Parents:
- d3f2cad
- Location:
- kbd/arch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kbd/arch/ia32/src/kbd.c
rd3f2cad re8d77a4 146 146 static int sc_secondary_map[] = { 147 147 SPECIAL, /* 0x00 */ 148 SPECIAL, /* 0x01 - Esc */148 0x1b, /* 0x01 - Esc */ 149 149 '!', '@', '#', '$', '%', '^', '&', '*', '(', ')', '_', '+', 150 150 SPECIAL, /* 0x0e - Backspace */ … … 258 258 int letter = 0; 259 259 260 static int esc_count=0; 261 262 263 if ( key == SC_ESC ) { 264 esc_count++; 265 if ( esc_count == 3 ) { 266 __SYSCALL0(SYS_DEBUG_ENABLE_CONSOLE); 267 } 268 } else { 269 esc_count=0; 270 } 271 272 273 260 274 switch (key) { 261 275 case SC_LSHIFT: -
kbd/arch/mips32/src/kbd.c
rd3f2cad re8d77a4 260 260 //return 1; 261 261 262 263 if ( scan_code == '\r' ) 264 scan_code = '\n' ; 265 262 266 buf|=((unsigned long) scan_code)<<(8*(count++)); 263 267
Note:
See TracChangeset
for help on using the changeset viewer.