Anstro Pleuton
945f181f1d
[examples] Update examples to be consistent ( #4699 )
* Update examples inconsistencies
* Happy new years, examples!
* Missed one inconsistency
* Update final few examples inconsistencies
---------
Co-authored-by: Anstro Pleuton <anstropleuton@github.com>
3 månader sedan
Anthony Carbajal
27e530eb18
update examples with difficulty stars ( #4694 )
* update examples with difficulty stars
* manual fix script issues
* manual fix script issues
3 månader sedan
Jeffery Myers
a2f6ae6796
Fix warnings in examples ( #4492 )
Move shapes/shapes_rectangle_advanced to the correct folder in MSVC project
Add core_input_virtual_controls.vcxproj back into sln file
5 månader sedan
Asdqwe
157ee79a8e
Add drawing for generic gamepad on core_input_gamepad example ( #4424 )
6 månader sedan
Asdqwe
fe6da67066
[examples] Add deadzone handling to `core_input_gamepad` example ( #4422 )
* Add deadzone handling to core_input_gamepad example
* Rename variables
6 månader sedan
Asdqwe
75a4c5bf20
Update core_input_gamepad example ( #4416 )
6 månader sedan
Konrad Gutvik Grande
3948656d84
The example always showed a xbox controller, never a ps3 controller ( #4040 )
10 månader sedan
Ray
3f1e59a7cf
Update copyright to 2024
1 år sedan
MichaelFiber
18e9784c6d
Remove PLATFORM_RPI ( #3232 )
* Remove PLATFORM_RPI
* remove build artifacts
---------
Co-authored-by: MichaelFiber <michael@cubeofb.org>
Co-authored-by: Ray <raysan5@gmail.com>
1 år sedan
iacore
7392c4b0c5
Better examples/core_input_gamepad ( #3110 )
* examples/core_input_gamepad: Add visuals for LT,RT
* examples/core_input_gamepad: arrows left/right to choose gamepad
* Style change
1 år sedan
Antonis Geralis
212f331583
Update core_input_gamepad.c ( #2903 )
2 år sedan
Ray
b59fab7ee6
Update year to 2023
2 år sedan
Ray
4a9391ae83
REVIEWED: examples descriptions
2 år sedan
Ray
c1b01c0d5d
Added new comment to examples
2 år sedan
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.
3 år sedan
Kristian Lein-Mathisen
ec7250ca54
Improve joystick visualisation in gamepad example ( #2390 )
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, the demo reveals the
analog feel of the joystick.
3 år sedan
raysan5
1883343944
Update core_input_gamepad.c
3 år sedan
raysan5
736d5920c7
Update core_input_gamepad.c
4 år sedan
Jeffery Myers
e48b9a6da1
[Examples] Warning fixes (pt 1) ( #1668 )
* Fix some warnings in examples.
* cleanups from review
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com>
4 år sedan
Ray
8527dbc6e2
WARNING: REMOVED: GamepadNumber enum
4 år sedan
Rabia Alhaffar
d96b422809
Fixed example doesn't show gamepad for Xbox 360 controllers with different drivers ( #1597 )
4 år sedan
raysan5
c32ae480af
RENAMED: FormatText() -> TextFormat()
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
4 år sedan
Mickaël Malécot
0bd64b7975
Gamepad axis bug fixes and improvement ( #1228 )
* Fix gamepad axis count
* Fix Xbox axis drawing
* Ignore low axis values
* Revert "Fix gamepad axis count"
This reverts commit f08ae4bf
* Fix GamepadAxis API
* Fix conflict with master
* Revert Gamepad MAX definitions
* Revert MAX_GAMEPAD_AXIS update
5 år sedan
Ray
b525039e0a
Review ALL examples
6 år sedan
Reece Mackie
f36ba6a2f4
Damn, made a mistake
6 år sedan
Reece Mackie
948a442704
Update gamepad example to use new enums
6 år sedan
Ray
c47b04a2c6
Working on web examples
8 år sedan
Ray
dd4dd0e87d
Reorganize examples folder
8 år sedan
raysan5
ed4fdfdaf8
Example tweak
8 år sedan
raysan5
3be81b01d7
Brand new gamepad example
8 år sedan
Gordon McShane
c0983f3400
fix example
- fix gamepad axis query in example broken by db4585b
Improved gamepad support
9 år sedan
raysan5
183795b8aa
Review literals type
9 år sedan
raysan5
12581c1721
Changed mail address by twitter user
Probably more useful...
9 år sedan
raysan5
51688c004c
Code cleaning, removed useless spaces
10 år sedan
raysan5
5ecb6801fa
Examples renaming and test examples merge
Examples have been renamed for coherence with raylib modules and test
examples have been merged into examples folder.
10 år sedan
Ray
3b6e5119f3
Rename ex03c_input_gamepad.c to core_input_gamepad.c
10 år sedan
raysan5
e9143b8a8d
Added some functions and Updated examples
View CHANGELOG for details
11 år sedan
raysan5
ccf2608091
Replaced tab by 4 spaces and adjust text
11 år sedan
Ray
46f10b45ad
raylib basic folders structure and some files... ;)
11 år sedan