mirror of https://github.com/stella-emu/stella.git
Fixed joystick hat not receiving 'CENTER' event (fixes #300).
This commit is contained in:
parent
0cde1ec4b9
commit
08ac6b0ff9
28
Changes.txt
28
Changes.txt
|
@ -1,4 +1,18 @@
|
|||
5.1 to 5.2: (MMM d, 2018)
|
||||
===========================================================================
|
||||

|
||||
 SSSS tt lll lll
|
||||
 SS SS tt ll ll
|
||||
 SS tttttt eeee ll ll aaaa
|
||||
 SSSS tt ee ee ll ll aa
|
||||
 SS tt eeeeee ll ll aaaaa -- "An Atari 2600 VCS Emulator"
|
||||
 SS SS tt ee ll ll aa aa
|
||||
 SSSS ttt eeeee llll llll aaaaa
|
||||

|
||||
===========================================================================
|
||||
 Release History
|
||||
===========================================================================
|
||||

|
||||
5.1.1 to 5.2: (MMM d, 2018)
|
||||
|
||||
* Extra functionality for Time Machine dialog (start/stop recording;
|
||||
minor fixes; TODO button and initial key repeats...)
|
||||
|
@ -7,6 +21,16 @@
|
|||
|
||||
* UI modernization (new widget look, dialog titles added, dialogs refactored)
|
||||
|
||||
* Fixed bug in UI navigation with joystick hat movement.
|
||||
|
||||
-Have fun!
|
||||
|
||||
|
||||
5.1 to 5.1.1: (February 21, 2018)
|
||||
|
||||
* Fixed bug in Stargunner ROM starting with a blank screen.
|
||||
|
||||
|
||||
5.0.2 to 5.1: (February 4, 2018)
|
||||
|
||||
* Added "Time Machine" mode, which automatically creates save states
|
||||
|
@ -141,8 +165,6 @@
|
|||
|
||||
* Updated included PNG library to latest stable version.
|
||||
|
||||
-Have fun!
|
||||
|
||||
|
||||
5.0.1 to 5.0.2: (August 20, 2017)
|
||||
|
||||
|
|
|
@ -111,7 +111,7 @@ void EventHandlerSDL2::pollEvent()
|
|||
case SDL_JOYHATMOTION:
|
||||
{
|
||||
int v = myEvent.jhat.value, value = 0;
|
||||
if(v & SDL_HAT_CENTERED)
|
||||
if(v == SDL_HAT_CENTERED)
|
||||
value = EVENT_HATCENTER_M;
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue