Updated raylib input system (markdown)

master
Karl Hedberg 2 년 전
부모
커밋
19f5cfbd5f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      raylib-input-system.md

+ 1
- 0
raylib-input-system.md

@ -20,6 +20,7 @@ TOUCH | - | Not available by default. Mouse clicks are mapped to touch events us
PLATFORM_WEB
--------------
Some inputs in this platform are directly using GLFW3 because the library has been partially [ported to emscripten](https://github.com/emscripten-core/emscripten/blob/incoming/src/library_glfw.js). Despite that, gamepad and touch inputs are directly managed using emscripten API.
WARNING: In the current implementation of GLFW in javascript, events are not handled at `glfwPollEvents()`. Instead, keys down and the like are set directly when a key is pressed (which ordinarily will happen outside your game loop). This means that functions such as `GetKeyPressed()` will have somewhat different behaviour. Specifically, in your game loop, try not to read any events *after* EndDrawing(). This could have different behaviour on PLATFORM_WEB. Reading events *before* EndDrawing() should be fine though.
Input | Library | Details

불러오는 중...
취소
저장