{"author_name":"sealfin","cat":"LD #20 - It's Dangerous to go Alone! Take This!","comments":[{"author_name":"eva33","time":"September 4, 2018 2:31 pm","epoch":1536089460,"text":"This is the wonderful post i saw today. I really enjoyed lot while reading this post thanks for sharing this kind of useful information.","spam":"N"},{"author_name":"mummymom","time":"September 6, 2018 5:55 am","epoch":1536231300,"text":"Thank you so much for the information","spam":"N"},{"author_name":"Taylah_322","time":"October 22, 2018 5:16 am","epoch":1540203360,"text":"helO?","spam":"N"},{"author_name":"vedant12345","time":"October 30, 2018 5:25 am","epoch":1540895100,"text":"Thank you so much for this site.","spam":"N"},{"author_name":"","time":"November 26, 2018 5:15 am","epoch":1543227300,"text":"As you&#8217;ve probably noticed by the spammy replies by now, this is the old\/legacy website of Ludum Dare, the new one is at ldjam dot com. (Hope I&#8217;m getting through, since you&#8217;re probably ignoring these by now&#8230;)","spam":"N"},{"author_name":"DyraSan","time":"December 24, 2018 2:31 am","epoch":1545636660,"text":"What is Handling Joysticks??<br \/>\n Is there any specific steps?","spam":"N"},{"author_name":"DyraSan","time":"December 25, 2018 7:21 am","epoch":1545740460,"text":"Answer please.","spam":"N"}],"epoch":1533218400,"likes":3,"metadata":{"p_key":"9","p_author":"sealfin","p_authorkey":"28917","p_urlkey":"34842","p_title":"SDL2 joystick interrogator 2.0","p_cat":"LD #20 - It's Dangerous to go Alone! Take This!","p_event":"LD42","p_time":"1533218400","p_likes":"3","p_comments":"17","p_status":"UPD5","us_key":"28917","us_name":"sealfin","us_username":"sealfin","event_start":"1533859200","event_key":"73","event_name":"LD 42"},"text":"<p><img src=\"http:\/\/ludumdare.com\/compo\/wp-content\/uploads\/2018\/08\/SDL2-joystick-interrogator-2.0.gif\" alt=\"SDL2 joystick interrogator 2.0\" width=\"800\" height=\"600\" class=\"aligncenter size-full wp-image-620378\" \/><\/p>\n <p>I recently rebooted development of a project I tried to develop for the Ludum Dare 20 contest held in April 2011, the theme of which was \u201cIt\u2019s dangerous to go alone! Take this!\u201d<\/p>\n <p>As the project will require a controller with an analogue stick to play I\u2019ve begun to develop a utility to interrogate the capabilities of various controllers; and, as I feel that the SDL2 documentation is lacking with regards to the joystick support offered by that library, I\u2019ve posted \u2013 in addition to an <a href=\"http:\/\/GitHub.com\/sealfin\/SDL2-joystick-interrogator\/releases\/download\/v2.0\/Mac.OS.X.zip\">executable<\/a> of that utility for Mac OS X (and I want to release executables for additional platforms \u2013 the Raspberry Pi in particular \u2013 in the future) \u2013 the <a href=\"http:\/\/GitHub.com\/sealfin\/SDL2-joystick-interrogator\">source code<\/a> to that utility to GitHub for the benefit both of myself and of others.<\/p>\n <p>Note that to use the utility you will need to have <a href=\"http:\/\/www.libSDL.org\/projects\/SDL_image\/\">SDL2_image<\/a> \u2013 in addition to SDL2 \u2013 installed.<\/p>\n <p>Amongst the changes in version 2.0 of the utility are that:<\/p>\n <ul>\n <li>the utility now features support for multiple controllers;<\/li>\n <li>the utility now features detection of POV hats (and, contrary to <a href=\"http:\/\/LudumDare.com\/compo\/2015\/09\/25\/sdl2-joystick-interrogator-third-version\/\">what I wrote in the past<\/a>, the D-pad of the Sony PlayStation 2 DualShock 2 controller is <u>not<\/u> disabled in analogue mode \u2013 rather, it is in that mode detected as being a POV hat (at least using my PlayStation-to-USB adapter));<\/li>\n <li>the utility now features preliminary detection of trackballs \u2013 \u201cpreliminary\u201d as neither of my controllers (the other being a Sony PlayStation 3 DualShock 3) features a trackball;<\/li>\n <li>the utility now features preliminary detection of whether or not a controller has haptic capabilities \u2013 \u201cpreliminary\u201d as neither of my controllers has been detected as having haptic capabilities in spite of both of my controllers having haptic capabilities (although my adapter or my OS (Mac OS X 10.6 Snow Leopard) might be to blame).<\/li>\n <\/ul>","time":"August 2nd, 2018 9:00 am","title":"SDL2 joystick interrogator 2.0"}