Changeset 86ffa27f in mainline for uspace/srv/hid/input/generic
- Timestamp:
- 2011-08-07T11:21:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cc574511
- Parents:
- 15f3c3f (diff), e8067c0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - Location:
- uspace/srv/hid/input/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/input/generic/gsp.c
r15f3c3f r86ffa27f 104 104 if (key == 0) break; 105 105 106 /* Insert one sequence. */ 106 /* Insert one sequence. */ 107 107 rc = gsp_insert_seq(p, dp, mods, key); 108 108 if (rc != 0) … … 197 197 198 198 if (t == NULL) { 199 printf("gsp_step: not found\n"); 199 printf("gsp_step: not found, state=%d, input=0x%x\n", 200 state, input); 200 201 *mods = 0; 201 202 *key = 0; … … 205 206 *mods = t->out_mods; 206 207 *key = t->out_key; 208 207 209 return t->new_state; 208 210 } -
uspace/srv/hid/input/generic/input.c
r15f3c3f r86ffa27f 410 410 #endif 411 411 #if defined(MACHINE_msim) 412 kbd_add_dev(&msim_port, & pc_ctl);412 kbd_add_dev(&msim_port, &stty_ctl); 413 413 #endif 414 414 #if (defined(MACHINE_lgxemul) || defined(MACHINE_bgxemul)) && defined(CONFIG_FB) … … 424 424 kbd_add_dev(&niagara_port, &stty_ctl); 425 425 #endif 426 #if defined(UARCH_sparc64) && defined(MACHINE_serengeti)427 kbd_add_dev(&sgcn_port, &stty_ctl);428 #endif429 426 #if defined(UARCH_sparc64) && defined(MACHINE_generic) 430 kbd_add_dev(&z8530_port, &sun_ctl);431 427 kbd_add_dev(&ns16550_port, &sun_ctl); 432 428 #endif … … 556 552 printf("%s: HelenOS input service\n", NAME); 557 553 558 sysarg_t fhc;559 554 sysarg_t obio; 560 555 … … 562 557 list_initialize(&mouse_devs); 563 558 564 if (((sysinfo_get_value("kbd.cir.fhc", &fhc) == EOK) && (fhc)) 565 || ((sysinfo_get_value("kbd.cir.obio", &obio) == EOK) && (obio))) 559 if ((sysinfo_get_value("kbd.cir.obio", &obio) == EOK) && (obio)) 566 560 irc_service = true; 567 561
Note:
See TracChangeset
for help on using the changeset viewer.
