A free Windows-compatible Operating System - mirrored from GitHub
Find a file
Aleksey Bragin e30784ec7b - An "almost working" kbhit implementation by Russel. The code is rather crappy, feel free to improve it.
Some notes:
1) Forgive my sloppy coding skills (all those LeaveCriticalSections, use of malloc/free), a lot of it was written in a rush to get something going. 2) For some reason, the first char entered isn't detected (on windows and reactos)
3) The thread safety code is questionable, I haven't tested this, but windows does use critical sections for it.
4) Compared to the windows way of doing it, it is probably wrong.
5) Maybe other things as well.

But it does work (at least when I tested it on windows and reactos) compared to the previous implementation of it which did not at all.
See issue #3747 for more details.

svn path=/trunk/; revision=38019
2008-12-11 16:44:07 +00:00
irc Give Techbot the ability to check for and ghost existing bots, then rename itself 2008-08-10 13:06:58 +00:00
reactos - An "almost working" kbhit implementation by Russel. The code is rather crappy, feel free to improve it. 2008-12-11 16:44:07 +00:00
rosapps Suggest LogonUser/CreateProcessAsUser as a possible 2008-12-01 19:32:22 +00:00
rostests - Disable crashing advapi32 tests -- add print and notes 2008-12-10 17:32:31 +00:00
wallpaper Re-add the "lake.bmp" wallpaper inclusion (partly imported from the deleted 0.3.1 branch, r26044) 2007-06-21 15:23:49 +00:00