Changeset f89979b in mainline for uspace/srv/console/console.c
- Timestamp:
- 2009-02-17T23:05:15Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 24ff4df
- Parents:
- 96e0748d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/console/console.c
r96e0748d rf89979b 37 37 #include <ipc/ipc.h> 38 38 #include <keys.h> 39 #include <kbd/keycode.h> 39 40 #include <ipc/fb.h> 40 41 #include <ipc/services.h> … … 332 333 conn = &connections[active_console]; 333 334 334 if ((ev.key >= 0x101) && (ev.key < 0x101 +335 if ((ev.key >= KC_F1) && (ev.key < KC_F1 + 335 336 CONSOLE_COUNT)) { 336 if (ev.key == 0x112)337 if (ev.key == KC_F12) 337 338 change_console(KERNEL_CONSOLE); 338 339 else 339 change_console(ev.key - 0x101);340 change_console(ev.key - KC_F1); 340 341 break; 341 342 }
Note:
See TracChangeset
for help on using the changeset viewer.