parkrrrr / bdio

BDIOHID is firmware for Linux SBCs to convert non-HID Braille Displays to HID.
GNU General Public License v3.0
4 stars 0 forks source link

Input is sluggish #2

Closed parkrrrr closed 4 years ago

parkrrrr commented 4 years ago

Input seems to wait until output happens before it appears. I don't know if this is just a simple matter of a missing fflush or if I'm doing something fundamentally wrong with the way I'm using files. I should probably be using the non-f* versions of the file I/O methods, but I'm going to need to add boost::asio for the httpd stuff anyway, so may as well do it now and just use its async i/o stuff for the device file.

parkrrrr commented 4 years ago

Fixed. Not with asio, but with good ol' fashioned open/read/write.