Commit Graph

6 Commits

Author SHA1 Message Date
Kacper Słomiński 9f45079693 Fix keyboard detection from open file descriptors
If any of the file descriptors turns out to be a keyboard, we shouldn't
fail with the error that no keyboard was found.
2022-06-11 15:54:27 +02:00
Vladislav Valtchev f5725ff6f2 Introduce the NOSDL option in the Makefile
For many reasons, the SDL library might not be available on some systems.
Therefore, it's useful to offer a way to build without it. With this patch,
it's possible to build fbDoom without SDL in the following way:

    make NOSDL=1
2019-11-19 14:17:08 +02:00
Vladislav Valtchev e6b181bea7 Call read() in a loop in W_StdC_Read()
The read() syscall does *not* guaratee that the whole buffer will be filled
before returning. Partial reads must be expected.
2019-11-19 13:54:16 +02:00
Maxime Vincent b92e06b108 AT keycodes to doom keys 2017-12-12 10:09:06 +01:00
Maxime Vincent 015fec85cf tty keyboard input work in progress 2017-12-11 07:31:25 +01:00
Maxime Vincent 72b0675c10 fbdoom first version with more generic framebuffer support 2017-12-02 11:25:39 +01:00