Changeset 3e5a814 in mainline for uspace/srv/kbd/generic/kbd.c
- Timestamp:
- 2009-02-25T21:32:18Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6b1de7a
- Parents:
- f542825
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/kbd/generic/kbd.c
rf542825 r3e5a814 38 38 #include <ipc/ipc.h> 39 39 #include <ipc/services.h> 40 #include <sysinfo.h> 40 41 #include <stdio.h> 41 42 #include <unistd.h> … … 66 67 /** Currently pressed lock keys. We track these to tackle autorepeat. */ 67 68 static unsigned lock_keys; 69 70 int cir_service = 0; 71 int cir_phone = -1; 68 72 69 73 void kbd_push_scancode(int scancode) … … 173 177 ipcarg_t phonead; 174 178 179 if (sysinfo_value("kbd.cir.fhc") == 1) 180 cir_service = SERVICE_FHC; 181 182 if (cir_service) { 183 while (cir_phone < 0) { 184 cir_phone = ipc_connect_me_to(PHONE_NS, cir_service, 185 0, 0); 186 } 187 } 188 175 189 /* Initialize port driver. */ 176 190 if (kbd_port_init())
Note:
See TracChangeset
for help on using the changeset viewer.