Changeset 25eec4e in mainline for uspace/srv/hid/remcons/remcons.c
- Timestamp:
- 2013-04-19T18:38:18Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6d717a4
- Parents:
- a1e2df13 (diff), 289cb7dd (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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/remcons/remcons.c
ra1e2df13 r25eec4e 80 80 static int remcons_get_size(con_srv_t *, sysarg_t *, sysarg_t *); 81 81 static int remcons_get_color_cap(con_srv_t *, console_caps_t *); 82 static int remcons_get_event(con_srv_t *, kbd_event_t *);82 static int remcons_get_event(con_srv_t *, cons_event_t *); 83 83 84 84 static con_ops_t con_ops = { … … 185 185 } 186 186 187 static int remcons_get_event(con_srv_t *srv, kbd_event_t *event) 188 { 189 telnet_user_t *user = srv_to_user(srv); 187 static int remcons_get_event(con_srv_t *srv, cons_event_t *event) 188 { 189 telnet_user_t *user = srv_to_user(srv); 190 kbd_event_t kevent; 190 191 int rc; 191 192 192 rc = telnet_user_get_next_keyboard_event(user, event);193 rc = telnet_user_get_next_keyboard_event(user, &kevent); 193 194 if (rc != EOK) { 194 195 /* XXX What? */ … … 196 197 return EOK; 197 198 } 199 200 event->type = CEV_KEY; 201 event->ev.key = kevent; 198 202 199 203 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.