Files
raylib/examples/core
Kristian Lein-Mathisen 4954778f68 Improve joystick visualisation in gamepad example again (#2391)
As prior commit, but complete fix for XBox controller and trigger
buttons too.

> The joystick range is a float from -1 through +1. Casting this to int
> yields only three possible values: -1, 0, and 1. This gives a
> misleading joystick placement in the demo.
>
> By casting to int after the multiplication to get pixel values, the
> demo reveals the analog feel of the joystick.
2022-03-14 17:16:09 +01:00
..
2021-10-20 11:55:00 +02:00
2021-04-22 18:55:24 +02:00
2017-04-04 01:54:49 +02:00
2021-03-19 22:39:39 +01:00
2019-05-14 15:34:23 +02:00
2021-05-31 18:27:53 +02:00
2017-04-04 01:54:49 +02:00
2021-04-22 18:55:24 +02:00
2021-06-24 10:39:43 +02:00
2019-05-20 16:36:42 +02:00
2017-04-04 01:54:49 +02:00
2019-05-14 15:34:23 +02:00
2019-05-20 16:36:42 +02:00
2017-04-04 01:54:49 +02:00
2019-05-14 15:34:23 +02:00
2019-04-12 13:29:53 +02:00
2019-05-20 16:36:42 +02:00
2021-10-17 21:00:20 +02:00
2021-10-17 19:10:09 +02:00
2019-07-28 15:09:01 +02:00
2021-10-17 21:00:20 +02:00