`Raylib.get_char_pressed` has wrong type
Closed this issue · 2 comments
gravicappa commented
As far as I understand Raylib.get_char_pressed
should have type unit -> int
(or unit -> Uchar.t
) instead of unit -> Raylib.Key.t
since it returns unicode code point.
tjammer commented
Hi, thanks for reporting this!
Your understanding is correct, this is already fixed on master, see #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
tjammer commented
The fix is now on opam.