uobikiemukot / yaft

yet another framebuffer terminal
MIT License
615 stars 43 forks source link

Please help! if you not lose this project. #15

Open zhenyolka opened 7 years ago

zhenyolka commented 7 years ago

Hello! Sorry for my English. I compile yaft terminal for arm, android(not android version, i compile linux version) Yaft work perfect, but i cant connect keyboard from /dev/input/event6 (it virtual framebuffer keyboard. keyboard work good). if i start keyboard in android terminal, android can use this keyboard(in settings keyboard display as hardware keyboard). How connect keyboard to your terminal.

uobikiemukot commented 6 years ago

I cannot test your environment by myself. So I don't know whether this approach is correct or not.

yaft always reads "STDIN_FILENO" as input. Maybe you need to use "/dev/input/event6" instead of "STDIN_FILENO".

Data format of "/dev/input/event*" is completely different from stdin. You should convert raw keyboard event to ascii code before ewrite().

good luck