Changeset c17c4e28 in mainline
- Timestamp:
- 2012-01-12T10:07:40Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 178d6a3
- Parents:
- 2a180307
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/remcons/user.c
r2a180307 rc17c4e28 224 224 event->c = c; 225 225 event->mods = 0; 226 event->key = (c == '\n' ? KC_ENTER : KC_A); 226 227 switch (c) { 228 case '\n': 229 event->key = KC_ENTER; 230 break; 231 case '\t': 232 event->key = KC_TAB; 233 break; 234 case '\b': 235 case 127: /* This is what Linux telnet sends. */ 236 event->key = KC_BACKSPACE; 237 event->c = '\b'; 238 break; 239 default: 240 event->key = KC_A; 241 break; 242 } 227 243 228 244 return event;
Note:
See TracChangeset
for help on using the changeset viewer.