GNOME Bugzilla – Bug 770192
playstation: Some games requires a non-analog gamepad
Last modified: 2016-09-02 22:53:40 UTC
Created attachment 333785 [details] Rayman's error message Gamepads must be presented as non-analog to Rayman for the game to work.
More information here: http://psxdatacenter.com/ntsc-u_list.html "Compatible Controllers Tested (Official Gamepads Only): Standard Controller (Digital Controller compatible only)"
Created attachment 334439 [details] [review] utils: Add XmlDoc.get_contents() This will be used in the next commit to get the content of multiple nodes in a Gameinfo document.
Created attachment 334440 [details] [review] retro: Add 'present_analog_sticks' prop to RetroGamepad This will be used in the next commits to present gamepads as classic gamepads or as gamepads with analog sticks.
Created attachment 334441 [details] [review] retro: Add 'present_analog_sticks' to RetroInputManager This will be used in the next commits to present gamepads as classic gamepads or as gamepads with analog sticks.
Created attachment 334442 [details] [review] core: Add InputCapabilities This will be used in the next commits for RetroInputManager to properly handle its controllers.
Created attachment 334443 [details] [review] retro: Add 'input_capabilities' to RetroRunner This will allow to decide whether the gamepads should be presented as classic gamepads or as gamepads with analog sticks.
Created attachment 334444 [details] [review] gameinfo: Add GameinfoDoc.get_game_controllers_for_disc_id() This will be used in the next commit to get controller informations from a Gameinfo doc.
Created attachment 334445 [details] [review] gameinfo: Add GameinfoDiscIdInputCapabilities This will be used in the next commit to get controller informations from a Gameinfo doc.
Created attachment 334446 [details] [review] playstation: Use GameinfoDiscIdInputCapabilities This allow to properly set a classic gamepad or a gamepad with analog sticks depending on the game's description in the Gameinfo document.
Created attachment 334447 [details] [review] playstation: Update the Gameinfo document
Confirming this makes some of the PSX games I care about work with the gamepad.
Created attachment 334673 [details] [review] utils: Add XmlDoc.get_contents() This will be used in the next commit to get the content of multiple nodes in a Gameinfo document.
Created attachment 334674 [details] [review] retro: Add 'present_analog_sticks' prop to RetroGamepad This will be used in the next commits to present gamepads as classic gamepads or as gamepads with analog sticks.
Created attachment 334675 [details] [review] retro: Add 'present_analog_sticks' to RetroInputManager This will be used in the next commits to present gamepads as classic gamepads or as gamepads with analog sticks.
Created attachment 334676 [details] [review] core: Add InputCapabilities This will be used in the next commits for RetroInputManager to properly handle its controllers.
Created attachment 334677 [details] [review] retro: Add 'input_capabilities' to RetroRunner This will allow to decide whether the gamepads should be presented as classic gamepads or as gamepads with analog sticks.
Created attachment 334678 [details] [review] gameinfo: Add GameinfoDoc.get_game_controllers_for_disc_id() This will be used in the next commit to get controller informations from a Gameinfo doc.
Created attachment 334679 [details] [review] gameinfo: Add GameinfoDiscIdInputCapabilities This will be used in the next commit to get controller informations from a Gameinfo doc.
Created attachment 334680 [details] [review] playstation: Use GameinfoDiscIdInputCapabilities This allow to properly set a classic gamepad or a gamepad with analog sticks depending on the game's description in the Gameinfo document.
Created attachment 334681 [details] [review] playstation: Replace *.gameinfo.xml by *.gameinfo.xml.in Replace playstation.gameinfo.xml by playstation.gameinfo.xml.in and compile the first from the second. This will help updating the Gameinfo file as the tools use the *.gameinfo.xml.in file format.
Created attachment 334682 [details] [review] tools: Add gameinfo/sort.py Allow to sort Gameinfo documents. This helps sorting existing Gameinfo documents before updating them.
Created attachment 334683 [details] [review] tools: Add gameinfo/merge.py Allow to merge Gameinfo documents. This helps merging existing Gameinfo documents which is necessary to update an existing one with the data from a newly generated one.
Created attachment 334684 [details] [review] tools: Get supported controllers from psxdatacenter.com This allow to know the available controllers for PlayStation games.
Created attachment 334685 [details] [review] build: Add update-gameinfo to PlayStation plugin Add the 'update-gameinfo' make rule to the PlayStation plugin. This allow to easily update the PlayStation Gameinfo document.
Created attachment 334686 [details] [review] playstation: Update playstation.gameinfo.xml.in
Attachment 334673 [details] pushed as 7f33ddc - utils: Add XmlDoc.get_contents() Attachment 334674 [details] pushed as 2ad960f - retro: Add 'present_analog_sticks' prop to RetroGamepad Attachment 334675 [details] pushed as 5d62aff - retro: Add 'present_analog_sticks' to RetroInputManager Attachment 334676 [details] pushed as cd4c0e2 - core: Add InputCapabilities Attachment 334677 [details] pushed as b7c30ce - retro: Add 'input_capabilities' to RetroRunner Attachment 334678 [details] pushed as d9a455d - gameinfo: Add GameinfoDoc.get_game_controllers_for_disc_id() Attachment 334679 [details] pushed as df8d262 - gameinfo: Add GameinfoDiscIdInputCapabilities Attachment 334680 [details] pushed as 940780b - playstation: Use GameinfoDiscIdInputCapabilities Attachment 334681 [details] pushed as c01e963 - playstation: Replace *.gameinfo.xml by *.gameinfo.xml.in Attachment 334682 [details] pushed as 1cd03f7 - tools: Add gameinfo/sort.py Attachment 334683 [details] pushed as d5b5d07 - tools: Add gameinfo/merge.py Attachment 334684 [details] pushed as 84c015d - tools: Get supported controllers from psxdatacenter.com Attachment 334685 [details] pushed as 09ecd0a - build: Add update-gameinfo to PlayStation plugin Attachment 334686 [details] pushed as 316b097 - playstation: Update playstation.gameinfo.xml.in