Closed gravicappa closed 1 year ago
Hi, thanks for reporting this! Your understanding is correct, this is already fixed on master, see https://github.com/tjammer/raylib-ocaml/issues/34. The change hasn't made it into a release on opam yet, so you have to pin the master branch with opam.
I'll prepare a release to opam soon to distribute this fix
The fix is now on opam.
As far as I understand
Raylib.get_char_pressed
should have typeunit -> int
(orunit -> Uchar.t
) instead ofunit -> Raylib.Key.t
since it returns unicode code point.