mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-05 05:39:18 -05:00
Updated raylib input system (markdown)
@ -49,8 +49,8 @@ Keyboard polling is a special case, it can use directly `stdin` inputs to read k
|
|||||||
|
|
||||||
Input | Library | Details
|
Input | Library | Details
|
||||||
:---: | :---: | ---
|
:---: | :---: | ---
|
||||||
KEYBOARD (1) | - | `stdin` is remapped to read keys using: `InitKeyboard()`, `ProcessKeyboard()`, `RestoreKeyboard()`
|
KEYBOARD | - | `stdin` is remapped to read keys using: `InitKeyboard()`, `ProcessKeyboard()`, `RestoreKeyboard()`
|
||||||
KEYBOARD (2) | libevdev | Using standard `input_event` to read events from input device
|
KEYBOARD | libevdev | Using standard `input_event` to read events from input device
|
||||||
MOUSE | libevdev | **Threaded**: `InitMouse()` -> `EventThreadSpawn()` -> `EventThread()`, uses `input_event`
|
MOUSE | libevdev | **Threaded**: `InitMouse()` -> `EventThreadSpawn()` -> `EventThread()`, uses `input_event`
|
||||||
GAMEPAD | joystick.h | **Threaded**: `InitGamepad()` -> `GamepadThread()`, uses `js_event`
|
GAMEPAD | joystick.h | **Threaded**: `InitGamepad()` -> `GamepadThread()`, uses `js_event`
|
||||||
TOUCH | libevdev | *Share `MOUSE` implementation*
|
TOUCH | libevdev | *Share `MOUSE` implementation*
|
||||||
|
|||||||
Reference in New Issue
Block a user