Leon Styhre
ed69e46b42
Fixed some issues where bundled SVG images would not get cached at the correct resolution.
2022-08-30 20:26:48 +02:00
Leon Styhre
2c2e624160
Changed the opacity data type and functions from unsigned char to float.
2022-02-11 22:10:25 +01:00
Leon Styhre
a443f86235
Removed a huge amount of unnecessary Window* function arguments.
2022-01-19 18:01:54 +01:00
Leon Styhre
0c8efee8ad
General refactoring and code cleanup.
2022-01-16 18:18:28 +01:00
Leon Styhre
8a6652552f
Set the clang-format option SpaceBeforeCpp11BracedList to true.
2022-01-16 12:09:55 +01:00
Leon Styhre
254b00a3d8
Large refactoring to improve thread safety and improve singleton pattern usage.
2022-01-04 21:21:26 +01:00
Leon Styhre
af52d9b0ac
Changed most increment and decrement operators from postfix to prefix for es-core.
2021-11-17 17:48:49 +01:00
Leon Styhre
f2c787e769
Moved the resources/help directory to resources/graphics/help
2021-10-23 20:49:00 +02:00
Leon Styhre
63767347f2
Fixed numerous compiler warnings reported by the -Wall and -Wpedantic flags.
2021-09-19 14:37:10 +02:00
Leon Styhre
74e21e8c03
Replaced some internal math functions with equivalents from the GLM library.
2021-08-17 20:55:29 +02:00
Leon Styhre
7b5d673050
Replaced the internal Vector2i data type and functions with the GLM library equivalent.
...
Also applied some code formatting changes for braced lists using clang-format.
2021-08-17 18:41:45 +02:00
Leon Styhre
1fb0ccef0d
Replaced the internal Vector2f data type and functions with the GLM library equivalent.
2021-08-16 18:25:01 +02:00
Leon Styhre
722468129e
Replaced all internal matrix data types and functions with the GLM library equivalents.
...
Also changed some vectors.
2021-08-15 19:30:31 +02:00
Leon Styhre
23fdc00044
Formatted the es-core source tree using clang-format.
2021-07-07 20:31:46 +02:00
Leon Styhre
483311f7f2
Switched the order of the Back and Start buttons in the input configurator.
...
Also removed some legacy code.
2021-07-04 15:03:22 +02:00
Leon Styhre
6178830504
Improved scaling relative to the screen aspect ratio for various GUI components.
2021-07-02 17:57:52 +02:00
Leon Styhre
ccb4c19d78
Changed input type 'select' to 'back' to align with the SDL naming conventions.
2021-05-23 20:31:15 +02:00
Leon Styhre
4d4210a419
Added support for selecting between different controller types.
2021-05-23 19:12:31 +02:00
Leon Styhre
0f00701c93
GuiInputConfig now also shows the controller device name during configuration.
2021-05-23 10:14:15 +02:00
Leon Styhre
a21dd2c817
Some code cleanup in GuiInputConfig.
...
Also fixed a small cosmetic bug.
2021-05-22 22:22:08 +02:00
Leon Styhre
23903de1cf
Minor cosmetic code cleanup.
2021-03-27 10:26:13 +01:00
Leon Styhre
12a7b18d05
Renamed controller input type 'analog' to 'thumbstick'.
2021-03-24 21:20:01 +01:00
Leon Styhre
1338e4467b
Added support for controller analog sticks click.
2021-03-24 19:35:51 +01:00
Leon Styhre
6a57a44df9
Improved the sizes of some menu GUI elements on 4:3 aspect ratio displays.
2021-03-09 17:17:33 +01:00
Leon Styhre
7f4179f327
Set the default controller button graphics to Xbox for the input configurator.
2021-03-02 17:34:10 +01:00
Leon Styhre
574feadc68
Changed from frame.png to frame.svg in most places.
2021-01-14 22:56:49 +01:00
Leon Styhre
debf072a0e
Rewrote some code from C to C++
2020-12-16 23:59:00 +01:00
Leon Styhre
965f96bbc8
Fixed a sorting issue when clearing game metadata.
...
Also a small documentation update and a file permission change.
2020-09-27 18:37:43 +02:00
Leon Styhre
8db04c5fcb
Added SPDX license identifiers to all source files.
2020-09-21 19:17:34 +02:00
Leon Styhre
b0624f2bc9
Updates to make the application work correctly (more or less) on macOS.
2020-08-18 17:48:21 +02:00
Leon Styhre
3a08eee1d6
Fixed an annoying gamepad configuration issue.
2020-08-03 13:15:53 +02:00
Leon Styhre
d9f00ec582
Fixed an issue where the keyboard was counted as a joystick.
2020-08-03 12:13:28 +02:00
Leon Styhre
dc4870f543
Improved the trigger button handling and made it work (somehow) on Windows.
...
There are still some issues on Windows, especially with Dual Shock controllers, but a larger rewrite is required anyway of the input handling so it's not worthwhile trying to fix it at this time.
2020-07-24 18:24:04 +02:00
Leon Styhre
1b65eaac2e
Improved input device configuration.
...
Default keyboard mappings are now applied if the user has not configured the keyboard.
2020-07-14 19:16:21 +02:00
Leon Styhre
e4fdd1e20d
Code cleanup and code documentation update.
...
As of this commit, the initial code cleanup and code documentation has been completed for the entire application.
2020-06-28 18:39:18 +02:00
Leon Styhre
6b62065595
Large code cleanup and code documentation update.
...
The initial code cleanup of es-app is now complete as of this commit.
2020-06-23 20:07:00 +02:00
Leon Styhre
8fefc9232c
Reorganized all resources to a subdirectory structure and added the CMake install prefix to the resource search path.
...
CMAKE_INSTALL_PREFIX and CMAKE_INSTALL_DATAROOTDIR are now used to resolve the resource path. As of this commit, there are only two paths where resources are searched, under the user home directory and under this install prefix directory (which defaults to /usr/local/share/emulationstation/resources but can be set to for instance /opt/share/emulationstation/resources using the appropriate CMake flags).
2020-06-21 19:35:43 +02:00
Leon Styhre
f1f82ac29f
Added support for jumping to the beginning and end of gamelists and menus using the left and right trigger buttons. Also fixed some navigation bugs.
2020-06-13 10:25:09 +02:00
Leon Styhre
c5e70385dd
Expanded support for help system theming to entire application, as before it was only partially implemented.
2020-06-07 20:09:02 +02:00
Conn O'Griofa
7ac6ffcdbe
filterTrigger: filter negative trigger axis event after positive axis detection
...
If filterTrigger detects a positive axis event on a common trigger axis while also
configuring a trigger, the next input event will be a negative axis press
(as the trigger needs to transition from >0 to rest at -32767).
Filter this negative event or else the next item in the configuration dialog
(typically "left thumb") will erroneously detect this as a separate event.
2019-08-30 21:24:35 +01:00
Conn O'Griofa
5edecef9c8
Merge pull request #576 from hzulla/feature/bigbenff
...
Add BigBen kid's PS3 gamepad 146b:0902 to filterTrigger()
2019-08-30 21:16:41 +01:00
Tomas Jakobsson
9de16045c9
whitespace cleanup
...
fix faulty line endings
silence warnings on windows
2019-08-25 17:23:02 +02:00
Hanno Zulla
3f012aeef5
Add BigBen kid's PS3 gamepad 146b:0902 to filterTrigger()
2019-07-26 12:38:54 +02:00
Conn O'Griofa
93fdfaa9c2
filterTrigger: generalize for more controllers
...
* Filter axes 2/5 for all devices, but only if LeftTrigger or RightTrigger is being configured. This should fix compatibility with XBox 360 and other generic controllers that use these axes for triggers, but won't affect other controllers using these axes for analog sticks, etc.
* Improve third-party PS3 detection (some Shanwan controllers have a grave accent in place of 'm' for 'Gamepad').
2019-04-12 04:48:39 +01:00
Conn O'Griofa
03341f236d
Implement filterTrigger for PS3 controllers
...
The hid-sony driver has both analog and digital buttons for the triggers,
and the analog values range from -32767 to 32767, which can cause two unwanted
input events (digital button and negative axis) per press.
Implement a function to filter out unwanted input events during configuration,
but isolate detection to known PS3 controllers with 6 axes so that older versions
of hid-sony and the sixad driver (which use 25+ axes) are not impacted negatively.
2019-04-06 11:19:12 +01:00
Cristi Mitrana
3ea6a7423b
Fix the opacity
for the hold-to-skip message.
...
This fixed the bug when toggling the visibility by calling `setOpacity` on the TextComponent
didn't have any effect.
2018-09-14 13:29:28 +03:00
Hanno Zulla
891c552ce9
Updates artwork for input config, adds compass directions.
2018-07-02 11:02:51 +02:00
Tomas Jakobsson
3d3fb2c277
Switched over the last functions in Utils.cpp to Utils::String, step 3 of 5 in the quest to remove boost::filesystem
2018-01-27 18:04:28 +01:00
Tomas Jakobsson
b6b6f73a24
Log everything CEC does
...
Only support libcec4
2017-11-29 21:00:36 +01:00
Tomas Jakobsson
bd0c6beed5
Silence warnings
2017-11-18 23:20:09 +01:00