Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Why GLFW doesn't use raw input on Windows (WM_INPUT)?

Using GLFW
2014-02-19
2014-03-19
  • jora_pupkin
    jora_pupkin
    2014-02-19

    Now i want to find the best library for cross-platform window & input managment. GLFW is a good choice: nice API, clean and simple code. But after input system investigations I found, that GLFW uses WM_CHAR/WM_KEY/WM_SYSKEY and other messages. It is slow. For low latency input only raw input is correct choice on Windows. Reasons:
    -low latency - WM_INPUT is underlying message for others
    -simple - one message for keyboard and mouse (but can be a problem for non ASCII input)
    -valid way for high DPI mouse handling
    -my favorite FPS pro-game Quakelive used it :)
    -ability to disable legacy messages for preventing message queue pollution

    So my question is:
    Do you planning to add support for raw input? If yes - when? If no - why?

    P.S. Library is really, really very good :)

     
  • jora_pupkin
    jora_pupkin
    2014-03-19

    No answer.. so sad :(((((