Commit graph

1536 commits

Author SHA1 Message Date
Tomas Jakobsson 489d7de096 Eliminate drawRect that takes int's and make sure everything uses the float version properly, this way everything is rounded the same way
Only round the transforms when setting them on the GPU, to make sure everything is rounded the same, but only at the final moment
2019-08-31 17:58:36 +02:00
Tomas Jakobsson e600a99e8c
Merge pull request #597 from 5schatten/libcec
CMakeList.txt: add option to disable libCEC / enabled by default
2019-08-31 17:13:35 +02:00
John Rassa 3b07bfeb93 cleanup duplicate theme code in Image/Video components 2019-08-31 09:50:57 -04: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 eadbfdf7a9
Merge pull request #574 from jrassa/gradients
support for color gradients in drawRect and ImageComponent
2019-08-30 09:13:09 +02:00
John Rassa fc58af98fd support for color gradients in drawRect and ImageComponent 2019-08-29 19:47:16 -04:00
5schatten 2e6b632f50 CMakeList.txt: added option to conditionally enable libCEC 2019-08-29 14:12:05 +02:00
Tomas Jakobsson 79cc5a7e8b
Merge pull request #575 from jrassa/guicomponent-visible
support 'visible' theme element
2019-08-29 10:25:10 +02:00
Jools Wills 4729de9fe9
Merge pull request #598 from jrassa/nanosvg-update
update nanosvg to latest version
2019-08-29 03:07:03 +01:00
John Rassa bbd21c005c update nanosvg to latest version 2019-08-27 20:06:31 -04:00
John Rassa d62758c7cf
Merge pull request #592 from verybadsoldier/fix/save_default_meta
save also metadata that have default values. they might not had defau…
2019-08-25 20:39:52 -04:00
verybadsoldier ee78a50252 save also metadata that have default values. they might not had default values on start so they have to be saved 2019-08-25 22:01:38 +02:00
John Rassa 6f38784b5f
Merge pull request #593 from tomaz82/cleanup
Automn cleaning
2019-08-25 13:50:37 -04:00
Tomas Jakobsson 9de16045c9 whitespace cleanup
fix faulty line endings
silence warnings on windows
2019-08-25 17:23:02 +02:00
John Rassa f0c64073db
Merge pull request #584 from tomaz82/cleanup_renderer
Cleanup renderer
2019-08-25 09:54:35 -04:00
Tomas Jakobsson a02a747c50 Redid the entire Renderer
Made all components render using triangle strips
2019-08-25 15:45:22 +02:00
Tomas Jakobsson 4b4c207208
Merge pull request #587 from fabricecaruso72/home-enhancements
Add --home command line to set custom home path + make windows version natively portable by detecting if .emulationstation is a subfolder of the exe.
2019-08-23 14:47:14 +02:00
Fabrice CARUSO 95de3aae7f Add --home command line to set custom home path + make windows version natively portable by detecting if .emulationstation is a subfolder of the exe. 2019-08-23 14:18:13 +02:00
Tomas Jakobsson 6d82c5e6c8
Merge pull request #586 from fabricecaruso72/fixed-shutdown
Fix shutdown on Windows & process shutdown commands after main loop is  breaked
2019-08-20 19:56:11 +02:00
Fabrice CARUSO f47fb048d5 Fix shutdown on Windows + process shutdown commands after main loop 2019-08-20 19:26:32 +02:00
Tomas Jakobsson ce8b16aacf Add Transform4x4f::orthoProjection 2019-08-13 15:49:34 +02:00
John Rassa e6660475e3
Merge pull request #582 from tomaz82/fix_transform4x4f
Fix Transform4x4f
2019-08-12 09:27:22 -04:00
John Rassa 723b17ae4c
Merge pull request #579 from cmitu/genesis-megadrive-tgdb
ScreenScraper: Eliminate duplicate requests for multiple platform entries
2019-08-08 18:14:19 -04:00
John Rassa afd056b027
Merge pull request #573 from cmitu/fkms-update
add an option to force the compilation of Raspberry Pi video player bits
2019-08-08 18:13:10 -04:00
Tomas Jakobsson 28168667ea Fix Transform4x4f which was broken in many, many ways, but just out of pure luck worked anyway 2019-08-08 17:45:11 +02:00
Cristi Mitrana 023e9d8916 Eliminate duplicate requests when multiple platforms are present for a system 2019-07-31 18:50:49 +03:00
Hanno Zulla 3f012aeef5 Add BigBen kid's PS3 gamepad 146b:0902 to filterTrigger() 2019-07-26 12:38:54 +02:00
John Rassa 8de1fc8860 add 'visible' theme element 2019-07-21 23:13:48 -04:00
Cristi Mitrana 0903bb36ff Added an option to force the compilation of Raspberry Pi specific bits.
Useful when the VC4 legacy driver is not used for GLES, but usage of 'omxplayer' is still desired.
2019-07-17 15:00:43 +03:00
John Rassa 13819ec0d9
Merge pull request #571 from cmitu/collections-label-for-system-options
Collections: make the display of system's name configurable.
2019-07-13 08:44:12 -04:00
Cristi Mitrana c84290e7fb Makes the display of system's name in Collections configurable.
* adds a new configuration option ("CollectionShowSystemInfo" = bool), in the 'Game Collections Settings' GUI. Defaults to previous behavior (true).
* reloads the Collection when the configuration is changed.
2019-07-12 10:32:01 +03:00
pjft 6defa8ef1c
Merge pull request #569 from danovision/subtitle-font-settings
Add Game Info Font Settings to OMX Player
2019-06-25 17:21:04 +01:00
Dan Leach a2f59ee2fc Add Game Info Font Settings to OMX Player
Adds the ability for users to change the following features in OMX Player's subtitles (game info for screen saver).

- font size
- font file path
- italic font file path
- subtitle position

These changes can be made in the GUI menus via the Video Screen Saver menu, or directly in the es_settings.cfg file.

Safe OMX Player defaults are hard-coded into the EmulationStation application.

Here's an example of the new keys loaded/saved into in the es_settings.cfg file:

- `<int name="SubtitleSize" value="38" />`
- `<string name="SubtitleFont" value="/usr/local/share/fonts/slkscr.ttf" />`
- `<string name="SubtitleItalicFont" value="/usr/local/share/fonts/slkscrb.ttf" />`
- `<string name="SubtitleAlignment" value="center" />`
2019-06-19 18:51:32 +01:00
John Rassa b21049a7d3
Merge pull request #570 from pjft/fix-kiosk-favorites
Fix Kiosk Favorites not registering
2019-06-19 08:04:39 -04:00
pjft 1b06df1572 Fix Kiosk Favorites not registering
Had been broken a few months back.
2019-06-19 10:04:17 +01:00
pjft 9c7cdcece9
Merge pull request #567 from cmitu/master
Fix 'Last Played' collection crash.
2019-06-12 12:50:19 +01:00
Cristi Mitrana 573cd4cdd5 Fix 'Last Played' collection crash. 2019-06-12 13:36:48 +03:00
Jools Wills 3fdaa2aafb
Merge pull request #558 from psyke83/triggerfilter_generalize
filterTrigger: generalize for more controllers
2019-05-14 02:11:06 +01:00
Jools Wills abc3dcca5b
Merge pull request #561 from cmitu/scraper-api-url
Scraper: change ScreenScraper API URL
2019-05-13 11:40:21 +01:00
Cristi Mitrana 6e123ba8c6 scraper: change ScreenScraper API URL 2019-05-02 11:54:55 +03:00
Jools Wills 9d793dbbc4
Merge pull request #559 from 5schatten/cross_compiling
CMakeList.txt: added CMAKE_FIND_ROOT_PATH for cross compiling
2019-04-16 16:51:32 +01:00
5schatten 48663c0b29 CMakeList.txt: added CMAKE_FIND_ROOT_PATH to detect RPi & Mali OpenGLES libs & headers 2019-04-16 17:29:12 +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
Jools Wills 289d89aad1
Merge pull request #555 from placroix74/screensaver-consume-input
[ScreenSaver] Consume input on cancel
2019-04-09 05:14:02 +01:00
Jools Wills fd04b153af
Merge pull request #554 from psyke83/ps3_triggerfilter
Implement filterTrigger for PS3 controllers
2019-04-09 05:13:23 +01:00
placroix74 9362967880 [ScreenSaver] Consume input on cancel 2019-04-07 08:55:27 -04:00
placroix74 f7af8357f8 Code formatting 2019-04-07 08:55:19 -04:00
John Rassa 91d0b6c918
Merge pull request #551 from jrassa/scripting
implement scripting support
2019-04-06 19:48:01 -04: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