Re: Jaws keyhook
I personally don't like the idea of creating game-specific scripts. That can get messy especially if you're utilizing a framework and/or have multiple projects.
Users have to copy the file, kinda messy. If you disable JFW's hook through jfwapi and your application crashes it can lead to annoyance especially for novice players.
I'm not a jaws user so mileage may very, but my solution would be a low-level keyboard hook using the windows API. You'll have to call into user32 through ctypes, but from there it should be a matter of SetWindowsHookEx with a KeyboardProc. Return 0, passing all events back to the system.
This is what BGT did under the hood and it seemed to work pretty well. If your application exits prematurely it shouldn't matter either.
-- Audiogames-reflector mailing list Audiogames-reflector@sabahattin-gucukoglu.com https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector