Changeset ab936440 in mainline for uspace/drv/hid/xtkbd/xtkbd.c
- Timestamp:
- 2019-02-12T20:42:42Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f31ca47
- Parents:
- 7f7817a9 (diff), 4805495 (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. - git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:26:18)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:42:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/xtkbd/xtkbd.c
r7f7817a9 rab936440 216 216 217 217 uint8_t code = 0; 218 rc = chardev_read(kbd->chardev, &code, 1, &nread );218 rc = chardev_read(kbd->chardev, &code, 1, &nread, chardev_f_none); 219 219 if (rc != EOK) 220 220 return EIO; … … 229 229 map_size = sizeof(scanmap_e0) / sizeof(unsigned int); 230 230 231 rc = chardev_read(kbd->chardev, &code, 1, &nread); 231 rc = chardev_read(kbd->chardev, &code, 1, &nread, 232 chardev_f_none); 232 233 if (rc != EOK) 233 234 return EIO; … … 236 237 237 238 if (code == 0x2a) { /* Print Screen */ 238 rc = chardev_read(kbd->chardev, &code, 1, &nread); 239 rc = chardev_read(kbd->chardev, &code, 1, &nread, 240 chardev_f_none); 239 241 if (rc != EOK) 240 242 return EIO; … … 243 245 continue; 244 246 245 rc = chardev_read(kbd->chardev, &code, 1, &nread); 247 rc = chardev_read(kbd->chardev, &code, 1, &nread, 248 chardev_f_none); 246 249 if (rc != EOK) 247 250 return EIO; … … 254 257 255 258 if (code == 0x46) { /* Break */ 256 rc = chardev_read(kbd->chardev, &code, 1, &nread); 259 rc = chardev_read(kbd->chardev, &code, 1, &nread, 260 chardev_f_none); 257 261 if (rc != EOK) 258 262 return EIO; … … 261 265 continue; 262 266 263 rc = chardev_read(kbd->chardev, &code, 1, &nread); 267 rc = chardev_read(kbd->chardev, &code, 1, &nread, 268 chardev_f_none); 264 269 if (rc != EOK) 265 270 return EIO; … … 274 279 /* Extended special set */ 275 280 if (code == KBD_SCANCODE_SET_EXTENDED_SPECIAL) { 276 rc = chardev_read(kbd->chardev, &code, 1, &nread); 281 rc = chardev_read(kbd->chardev, &code, 1, &nread, 282 chardev_f_none); 277 283 if (rc != EOK) 278 284 return EIO; … … 281 287 continue; 282 288 283 rc = chardev_read(kbd->chardev, &code, 1, &nread); 289 rc = chardev_read(kbd->chardev, &code, 1, &nread, 290 chardev_f_none); 284 291 if (rc != EOK) 285 292 return EIO; … … 288 295 continue; 289 296 290 rc = chardev_read(kbd->chardev, &code, 1, &nread); 297 rc = chardev_read(kbd->chardev, &code, 1, &nread, 298 chardev_f_none); 291 299 if (rc != EOK) 292 300 return EIO; … … 295 303 continue; 296 304 297 rc = chardev_read(kbd->chardev, &code, 1, &nread); 305 rc = chardev_read(kbd->chardev, &code, 1, &nread, 306 chardev_f_none); 298 307 if (rc != EOK) 299 308 return EIO; … … 302 311 continue; 303 312 304 rc = chardev_read(kbd->chardev, &code, 1, &nread); 313 rc = chardev_read(kbd->chardev, &code, 1, &nread, 314 chardev_f_none); 305 315 if (rc != EOK) 306 316 return EIO;
Note:
See TracChangeset
for help on using the changeset viewer.