<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://forum.ubuntu-fr.org/extern.php?action=feed&amp;tid=255339&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Forum Ubuntu-fr.org / Mednafen et configuration des touches]]></title>
		<link>http://forum.ubuntu-fr.org/viewtopic.php?id=255339</link>
		<description><![CDATA[Les sujets les plus récents dans Mednafen et configuration des touches.]]></description>
		<lastBuildDate>Tue, 30 Oct 2012 09:49:30 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11324001#p11324001</link>
			<description><![CDATA[<p>Merci pour ta réponse détaillé, c&#039;est pour une distrib de jeux donc ça ne le ferra pas vu que les modèles de pads changent tout le temps ...<br />Qjoypad demande beaucoup de dépendances qt (trop lourd pour un live cd), xjoypad n&#039;existe plus et jstest-gtk ne semble pas faire l&#039;affaire</p><p>Dommage que Mednafen n&#039;ai pas une gestion plus classique des manettes</p>]]></description>
			<author><![CDATA[dummy@example.com (Lenslarque)]]></author>
			<pubDate>Tue, 30 Oct 2012 09:49:30 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11324001#p11324001</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11323451#p11323451</link>
			<description><![CDATA[<div class="quotebox"><cite>Lenslarque a écrit&#160;:</cite><blockquote><div><p>J’aurais aimé savoir si Il est possible de mapper un bouton du pad pour quitter l&#039;émulateur ?</p></div></blockquote></div><p>Je ne pense pas qu&#039;il y ait ce genre d&#039;option dans le panneau de config. La seule solution &quot;évidente&quot; que je vois est d&#039;utiliser un soft pour mapper les boutons de ton pad à des touches du clavier (au niveau système, pas spécifiquement pour Mednafen) et de mapper une touche au raccourci pour quitter l&#039;émulateur s&#039;il y en a un (ctrl + Q, ctrl + W...).</p><div class="quotebox"><blockquote><div><p>Si je comprends bien, si je change de pad il faut tout recommencer ensuite ?</p></div></blockquote></div><p>Oui. Pour contourner ça, il y a la même solution que ma proposition pour quitter : mapper les boutons de ton pad à des touches du clavier puis mapper ces touches du clavier aux boutons dans le fichier de config de Mednafen, comme si tu jouais au clavier (par exemple dans le fichier de config tu définis Z S Q D pour les directions, W et X pour les boutons A et B de la NES − idem pour les autres consoles, bien sûr) puis dans le soft de mappage des boutons au niveau système, tu définis les directions de ton pad à Z S Q D, les boutons que tu veux utiliser à W et X, etc.<br />Si tu changes de pad tu devras bien sûr le reparamétrer mais vie un soft indépendant plus pratique à utiliser que le fichier de config de Mednafen.</p><p>Pour ce qui est des softs qui permettent de mapper un pad à un clavier, il y a xjoypad (en ligne de commande uniquement − il n&#039;est pas dans les dépôts, il faut peut-être le compiler à partir des sources), qjoypad (à un moment il était buggé et ne fonctionnait pas, je ne sais pas s&#039;il fonctionne mieux maintenant), peut-être jstest-gtk (quoique j&#039;ai l&#039;impression qu&#039;il permet de remapper les boutons d&#039;un pad mais pas forcément des les associer aux touches d&#039;un clavier)...</p>]]></description>
			<author><![CDATA[dummy@example.com (abelthorne)]]></author>
			<pubDate>Tue, 30 Oct 2012 09:17:44 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11323451#p11323451</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=11322691#p11322691</link>
			<description><![CDATA[<p>Bonjour à tous,</p><p>J’aurais aimé savoir si Il est possible de mapper un bouton du pad pour quitter l&#039;émulateur ?<br />Si je comprends bien, si je change de pad il faut tout recommencer ensuite ? Il a l&#039;air super comme ému mais pas vraiment conviviale ...</p>]]></description>
			<author><![CDATA[dummy@example.com (Lenslarque)]]></author>
			<pubDate>Tue, 30 Oct 2012 08:34:35 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=11322691#p11322691</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=8504511#p8504511</link>
			<description><![CDATA[<p>Ben avec xev, si je tape sur é, par exemple, j&#039;ai ça :</p><div class="codebox"><pre><code>KeyPress event, serial 41, synthetic NO, window 0x2e00001,
    root 0xb0, subw 0x0, time 4446039, (12,-11), root:(13,178),
    state 0x10, keycode 11 (keysym 0xe9, eacute), same_screen YES,
    XLookupString gives 2 bytes: (c3 a9) &quot;é&quot;
    XmbLookupString gives 2 bytes: (c3 a9) &quot;é&quot;
    XFilterEvent returns: False</code></pre></div><p>Donc ce serait 11 pour le keycode.</p>]]></description>
			<author><![CDATA[dummy@example.com (abelthorne)]]></author>
			<pubDate>Fri, 16 Mar 2012 13:56:06 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=8504511#p8504511</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=8504341#p8504341</link>
			<description><![CDATA[<p>Si effectivement c&#039;est le keycode à prendre en compte, mais justement, je n&#039;arrive pas à trouver leur code (pour toutes les touches comme é, §, è, à etc...)</p>]]></description>
			<author><![CDATA[dummy@example.com (Klintooo)]]></author>
			<pubDate>Fri, 16 Mar 2012 13:41:05 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=8504341#p8504341</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=8492541#p8492541</link>
			<description><![CDATA[<p>Essaie de vérifier par rapport à une touche déjà définie. Je me demande si c&#039;est pas le keycode qui est à prendre en compte, plutot.</p>]]></description>
			<author><![CDATA[dummy@example.com (abelthorne)]]></author>
			<pubDate>Thu, 15 Mar 2012 11:16:45 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=8492541#p8492541</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=8492511#p8492511</link>
			<description><![CDATA[<p>Merci pour ta réponse aussi rapide, je connaissais pas la commande xev.<br /> le code keysym donné pour &quot;é&quot; est 0xe9 <br />et pour les guillemets &quot; le code est 0x22<br />Ca me parait bizarre, m&#039;enfin je testerais ca ce soir !</p>]]></description>
			<author><![CDATA[dummy@example.com (Klintooo)]]></author>
			<pubDate>Thu, 15 Mar 2012 11:12:14 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=8492511#p8492511</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=8491101#p8491101</link>
			<description><![CDATA[<p>Essaie en tapant <strong>xev</strong> dans un terminal, puis tu appuies sur la touche que tu veux pour connaître son code.</p>]]></description>
			<author><![CDATA[dummy@example.com (abelthorne)]]></author>
			<pubDate>Thu, 15 Mar 2012 07:54:47 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=8491101#p8491101</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=8490221#p8490221</link>
			<description><![CDATA[<p>J&#039;ai également une question à poser, disons je cherche à configurer par exemple ma touche <strong>&quot;</strong> ou bien <strong>é</strong> .<br />J&#039;imagine que je peux trouver ça dans le &quot;International keyboard syms&quot; mais chercher à tatons c&#039;est pas top.<br />Quelqu&#039;un aurait donc une liste plus détaillée ?<br />Merci !</p>]]></description>
			<author><![CDATA[dummy@example.com (Klintooo)]]></author>
			<pubDate>Thu, 15 Mar 2012 02:02:55 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=8490221#p8490221</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=8104091#p8104091</link>
			<description><![CDATA[<p>Bravo pour la réponse rapide ^^</p><p>J&#039;avais effectivement zappé une partie de ton post, <em>mea culpa</em>.</p><p>Reste donc à ce que je me débrouille pour faire la config…</p><p>Merci <img src="http://forum.ubuntu-fr.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Elzen)]]></author>
			<pubDate>Thu, 09 Feb 2012 21:59:27 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=8104091#p8104091</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=8104061#p8104061</link>
			<description><![CDATA[<p>Oui : comme indiqué dans mon premier message, tu peux indiquer deux configs par bouton/direction en mettant un tilde entre les deux. Je ne crois pas qu&#039;on puisse en mettre plus de deux.</p><p>Ça donnera quelque chose comme :<br /><strong>nes.input.port1.gamepad.up joystick 9cef3b3f1d2ebecb 0000c001~keyboard 109</strong></p>]]></description>
			<author><![CDATA[dummy@example.com (abelthorne)]]></author>
			<pubDate>Thu, 09 Feb 2012 21:56:21 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=8104061#p8104061</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=8103941#p8103941</link>
			<description><![CDATA[<p>Salut les gens, petit up…</p><p>petite question : est-il possible de configurer mednafen pour qu&#039;il accepte à la fois la manette et le clavier ?</p><p>Parce que j&#039;aime bien jouer à la manette, mais il y a plein de situations où elle n&#039;est pas super-pratique, donc ça m&#039;embêterait d&#039;avoir à reconfigurer ça à chaque fois pour passer de l&#039;un à l&#039;autre.</p><p>…remarque, au pire, j&#039;peux juste me faire deux fichiers de conf et en changer selon si la manette est là ou pas…</p>]]></description>
			<author><![CDATA[dummy@example.com (Elzen)]]></author>
			<pubDate>Thu, 09 Feb 2012 21:49:07 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=8103941#p8103941</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=6933711#p6933711</link>
			<description><![CDATA[<p>&gt;abelthorne : Un grand merci pour ces explications et pour le temps que tu as pris, grâce à ceci j&#039;ai pu configurer Mednafen très rapidement et très facilement ! <img src="http://forum.ubuntu-fr.org/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (Frederich)]]></author>
			<pubDate>Sun, 06 Nov 2011 13:32:33 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=6933711#p6933711</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=4846231#p4846231</link>
			<description><![CDATA[<p>Salut.<br />Existe t&#039;il un tuto français complet pour mednafen (installation, commandes, configuration)? Je n&#039;en trouve pas.</p>]]></description>
			<author><![CDATA[dummy@example.com (esdeve)]]></author>
			<pubDate>Sun, 05 Jun 2011 16:00:43 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=4846231#p4846231</guid>
		</item>
		<item>
			<title><![CDATA[Réponse à&#160;:  Mednafen et configuration des touches]]></title>
			<link>http://forum.ubuntu-fr.org/viewtopic.php?pid=2263811#p2263811</link>
			<description><![CDATA[<p>Bonjour,<br />Tous les codes des touches(&quot;arrows&quot; compris) se trouvent dans ce fichier:<br />/usr/include/SDL/SDL_keysym.h</p><div class="codebox"><pre class="vscroll"><code>/*
    SDL - Simple DirectMedia Layer
    Copyright (C) 1997-2006 Sam Lantinga

    This library is free software; you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public
    License as published by the Free Software Foundation; either
    version 2.1 of the License, or (at your option) any later version.

    This library is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this library; if not, write to the Free Software
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

    Sam Lantinga
    slouken@libsdl.org
*/

#ifndef _SDL_keysym_h
#define _SDL_keysym_h

/* What we really want is a mapping of every raw key on the keyboard.
   To support international keyboards, we use the range 0xA1 - 0xFF
   as international virtual keycodes.  We&#039;ll follow in the footsteps of X11...
   The names of the keys
 */
 
typedef enum {
	/* The keyboard syms have been cleverly chosen to map to ASCII */
	SDLK_UNKNOWN		= 0,
	SDLK_FIRST		= 0,
	SDLK_BACKSPACE		= 8,
	SDLK_TAB		= 9,
	SDLK_CLEAR		= 12,
	SDLK_RETURN		= 13,
	SDLK_PAUSE		= 19,
	SDLK_ESCAPE		= 27,
	SDLK_SPACE		= 32,
	SDLK_EXCLAIM		= 33,
	SDLK_QUOTEDBL		= 34,
	SDLK_HASH		= 35,
	SDLK_DOLLAR		= 36,
	SDLK_AMPERSAND		= 38,
	SDLK_QUOTE		= 39,
	SDLK_LEFTPAREN		= 40,
	SDLK_RIGHTPAREN		= 41,
	SDLK_ASTERISK		= 42,
	SDLK_PLUS		= 43,
	SDLK_COMMA		= 44,
	SDLK_MINUS		= 45,
	SDLK_PERIOD		= 46,
	SDLK_SLASH		= 47,
	SDLK_0			= 48,
	SDLK_1			= 49,
	SDLK_2			= 50,
	SDLK_3			= 51,
	SDLK_4			= 52,
	SDLK_5			= 53,
	SDLK_6			= 54,
	SDLK_7			= 55,
	SDLK_8			= 56,
	SDLK_9			= 57,
	SDLK_COLON		= 58,
	SDLK_SEMICOLON		= 59,
	SDLK_LESS		= 60,
	SDLK_EQUALS		= 61,
	SDLK_GREATER		= 62,
	SDLK_QUESTION		= 63,
	SDLK_AT			= 64,
	/* 
	   Skip uppercase letters
	 */
	SDLK_LEFTBRACKET	= 91,
	SDLK_BACKSLASH		= 92,
	SDLK_RIGHTBRACKET	= 93,
	SDLK_CARET		= 94,
	SDLK_UNDERSCORE		= 95,
	SDLK_BACKQUOTE		= 96,
	SDLK_a			= 97,
	SDLK_b			= 98,
	SDLK_c			= 99,
	SDLK_d			= 100,
	SDLK_e			= 101,
	SDLK_f			= 102,
	SDLK_g			= 103,
	SDLK_h			= 104,
	SDLK_i			= 105,
	SDLK_j			= 106,
	SDLK_k			= 107,
	SDLK_l			= 108,
	SDLK_m			= 109,
	SDLK_n			= 110,
	SDLK_o			= 111,
	SDLK_p			= 112,
	SDLK_q			= 113,
	SDLK_r			= 114,
	SDLK_s			= 115,
	SDLK_t			= 116,
	SDLK_u			= 117,
	SDLK_v			= 118,
	SDLK_w			= 119,
	SDLK_x			= 120,
	SDLK_y			= 121,
	SDLK_z			= 122,
	SDLK_DELETE		= 127,
	/* End of ASCII mapped keysyms */

	/* International keyboard syms */
	SDLK_WORLD_0		= 160,		/* 0xA0 */
	SDLK_WORLD_1		= 161,
	SDLK_WORLD_2		= 162,
	SDLK_WORLD_3		= 163,
	SDLK_WORLD_4		= 164,
	SDLK_WORLD_5		= 165,
	SDLK_WORLD_6		= 166,
	SDLK_WORLD_7		= 167,
	SDLK_WORLD_8		= 168,
	SDLK_WORLD_9		= 169,
	SDLK_WORLD_10		= 170,
	SDLK_WORLD_11		= 171,
	SDLK_WORLD_12		= 172,
	SDLK_WORLD_13		= 173,
	SDLK_WORLD_14		= 174,
	SDLK_WORLD_15		= 175,
	SDLK_WORLD_16		= 176,
	SDLK_WORLD_17		= 177,
	SDLK_WORLD_18		= 178,
	SDLK_WORLD_19		= 179,
	SDLK_WORLD_20		= 180,
	SDLK_WORLD_21		= 181,
	SDLK_WORLD_22		= 182,
	SDLK_WORLD_23		= 183,
	SDLK_WORLD_24		= 184,
	SDLK_WORLD_25		= 185,
	SDLK_WORLD_26		= 186,
	SDLK_WORLD_27		= 187,
	SDLK_WORLD_28		= 188,
	SDLK_WORLD_29		= 189,
	SDLK_WORLD_30		= 190,
	SDLK_WORLD_31		= 191,
	SDLK_WORLD_32		= 192,
	SDLK_WORLD_33		= 193,
	SDLK_WORLD_34		= 194,
	SDLK_WORLD_35		= 195,
	SDLK_WORLD_36		= 196,
	SDLK_WORLD_37		= 197,
	SDLK_WORLD_38		= 198,
	SDLK_WORLD_39		= 199,
	SDLK_WORLD_40		= 200,
	SDLK_WORLD_41		= 201,
	SDLK_WORLD_42		= 202,
	SDLK_WORLD_43		= 203,
	SDLK_WORLD_44		= 204,
	SDLK_WORLD_45		= 205,
	SDLK_WORLD_46		= 206,
	SDLK_WORLD_47		= 207,
	SDLK_WORLD_48		= 208,
	SDLK_WORLD_49		= 209,
	SDLK_WORLD_50		= 210,
	SDLK_WORLD_51		= 211,
	SDLK_WORLD_52		= 212,
	SDLK_WORLD_53		= 213,
	SDLK_WORLD_54		= 214,
	SDLK_WORLD_55		= 215,
	SDLK_WORLD_56		= 216,
	SDLK_WORLD_57		= 217,
	SDLK_WORLD_58		= 218,
	SDLK_WORLD_59		= 219,
	SDLK_WORLD_60		= 220,
	SDLK_WORLD_61		= 221,
	SDLK_WORLD_62		= 222,
	SDLK_WORLD_63		= 223,
	SDLK_WORLD_64		= 224,
	SDLK_WORLD_65		= 225,
	SDLK_WORLD_66		= 226,
	SDLK_WORLD_67		= 227,
	SDLK_WORLD_68		= 228,
	SDLK_WORLD_69		= 229,
	SDLK_WORLD_70		= 230,
	SDLK_WORLD_71		= 231,
	SDLK_WORLD_72		= 232,
	SDLK_WORLD_73		= 233,
	SDLK_WORLD_74		= 234,
	SDLK_WORLD_75		= 235,
	SDLK_WORLD_76		= 236,
	SDLK_WORLD_77		= 237,
	SDLK_WORLD_78		= 238,
	SDLK_WORLD_79		= 239,
	SDLK_WORLD_80		= 240,
	SDLK_WORLD_81		= 241,
	SDLK_WORLD_82		= 242,
	SDLK_WORLD_83		= 243,
	SDLK_WORLD_84		= 244,
	SDLK_WORLD_85		= 245,
	SDLK_WORLD_86		= 246,
	SDLK_WORLD_87		= 247,
	SDLK_WORLD_88		= 248,
	SDLK_WORLD_89		= 249,
	SDLK_WORLD_90		= 250,
	SDLK_WORLD_91		= 251,
	SDLK_WORLD_92		= 252,
	SDLK_WORLD_93		= 253,
	SDLK_WORLD_94		= 254,
	SDLK_WORLD_95		= 255,		/* 0xFF */

	/* Numeric keypad */
	SDLK_KP0		= 256,
	SDLK_KP1		= 257,
	SDLK_KP2		= 258,
	SDLK_KP3		= 259,
	SDLK_KP4		= 260,
	SDLK_KP5		= 261,
	SDLK_KP6		= 262,
	SDLK_KP7		= 263,
	SDLK_KP8		= 264,
	SDLK_KP9		= 265,
	SDLK_KP_PERIOD		= 266,
	SDLK_KP_DIVIDE		= 267,
	SDLK_KP_MULTIPLY	= 268,
	SDLK_KP_MINUS		= 269,
	SDLK_KP_PLUS		= 270,
	SDLK_KP_ENTER		= 271,
	SDLK_KP_EQUALS		= 272,

	/* Arrows + Home/End pad */
	SDLK_UP			= 273,
	SDLK_DOWN		= 274,
	SDLK_RIGHT		= 275,
	SDLK_LEFT		= 276,
	SDLK_INSERT		= 277,
	SDLK_HOME		= 278,
	SDLK_END		= 279,
	SDLK_PAGEUP		= 280,
	SDLK_PAGEDOWN		= 281,

	/* Function keys */
	SDLK_F1			= 282,
	SDLK_F2			= 283,
	SDLK_F3			= 284,
	SDLK_F4			= 285,
	SDLK_F5			= 286,
	SDLK_F6			= 287,
	SDLK_F7			= 288,
	SDLK_F8			= 289,
	SDLK_F9			= 290,
	SDLK_F10		= 291,
	SDLK_F11		= 292,
	SDLK_F12		= 293,
	SDLK_F13		= 294,
	SDLK_F14		= 295,
	SDLK_F15		= 296,

	/* Key state modifier keys */
	SDLK_NUMLOCK		= 300,
	SDLK_CAPSLOCK		= 301,
	SDLK_SCROLLOCK		= 302,
	SDLK_RSHIFT		= 303,
	SDLK_LSHIFT		= 304,
	SDLK_RCTRL		= 305,
	SDLK_LCTRL		= 306,
	SDLK_RALT		= 307,
	SDLK_LALT		= 308,
	SDLK_RMETA		= 309,
	SDLK_LMETA		= 310,
	SDLK_LSUPER		= 311,		/* Left &quot;Windows&quot; key */
	SDLK_RSUPER		= 312,		/* Right &quot;Windows&quot; key */
	SDLK_MODE		= 313,		/* &quot;Alt Gr&quot; key */
	SDLK_COMPOSE		= 314,		/* Multi-key compose key */

	/* Miscellaneous function keys */
	SDLK_HELP		= 315,
	SDLK_PRINT		= 316,
	SDLK_SYSREQ		= 317,
	SDLK_BREAK		= 318,
	SDLK_MENU		= 319,
	SDLK_POWER		= 320,		/* Power Macintosh power key */
	SDLK_EURO		= 321,		/* Some european keyboards */
	SDLK_UNDO		= 322,		/* Atari keyboard has Undo */

	/* Add any other keys here */

	SDLK_LAST
} SDLKey;

/* Enumeration of valid key mods (possibly OR&#039;d together) */
typedef enum {
	KMOD_NONE  = 0x0000,
	KMOD_LSHIFT= 0x0001,
	KMOD_RSHIFT= 0x0002,
	KMOD_LCTRL = 0x0040,
	KMOD_RCTRL = 0x0080,
	KMOD_LALT  = 0x0100,
	KMOD_RALT  = 0x0200,
	KMOD_LMETA = 0x0400,
	KMOD_RMETA = 0x0800,
	KMOD_NUM   = 0x1000,
	KMOD_CAPS  = 0x2000,
	KMOD_MODE  = 0x4000,
	KMOD_RESERVED = 0x8000
} SDLMod;

#define KMOD_CTRL	(KMOD_LCTRL|KMOD_RCTRL)
#define KMOD_SHIFT	(KMOD_LSHIFT|KMOD_RSHIFT)
#define KMOD_ALT	(KMOD_LALT|KMOD_RALT)
#define KMOD_META	(KMOD_LMETA|KMOD_RMETA)

#endif /* _SDL_keysym_h */</code></pre></div><p><a href="http://forum.fobby.net/index.php?t=msg&amp;th=7&amp;start=0&amp;">http://forum.fobby.net/index.php?t=msg&amp;th=7&amp;start=0&amp;</a></p><p>Autrement le plus simple c&#039;est de configurer son clavier ou joypad directement dans Mednafen,mais bon chez moi le raccourci Alt+Shift+1 pour configurer les touches marche pas.( Alt+Shift+2 pour le port#2,etc)<br />Pour ça il faut ouvrir mednafen.cfg avec gedit par ex,et attribuer une autre touche pour ce raccourci (j&#039;ai choisi &quot;m&quot; peu importe,ça fonctionne d&#039;autres non ):<br />Et il faut que Mednafen soit fermé avant d&#039;éditer ce fichier:</p><p>Dans gedit,faire Ctrl+f et rechercher cette chaine: input_config1<br />On tombe sur ça:</p><div class="codebox"><pre><code>command.input_config1 keyboard 50+alt+shift</code></pre></div><p>Et le changer par un autre,pour ma part la touche &quot;m&quot; dont le code est 109:</p><div class="codebox"><pre><code>command.input_config1 keyboard 109</code></pre></div><p>Fermer Gedit et lancer Mednafen.<br />Lancer une rom,appuyer sur le raccourci &quot;m&quot;(ou celui que l&#039;on a choisi)) et configurer le clavier ou gamepad:<br />Soit en appuyant 2 fois pour chaque touche.<br />Ou pour configurer le clavier et le gamepad em même temps: appuyer 1 fois sur la touche du clavier voulue,et 2 fois sur la touche du gamepad.<br />Et ainsi de suite. <br /><span class="postimg"><img src="http://img248.imageshack.us/img248/9055/screenshot07ly1.jpg" alt="screenshot07ly1.jpg" /></span></p><p>Bien sur,le gamepad doît être configuré pour chaque systeme emulé par Mednafen (Nes,Pc engine,etc)<br />Et pour un autre Gamepad ou joueur sur le port#2, attribuer un autre raccourci pour&#160; input_config2 (enfin je pense)</p><p>Edit:Ensuite dans Mednafen on pourra reconfigurer le raccourci avec la touche F2,et choisir Alt+Shift+1 là ça marchera.<br />ou mettre directement &#039;command.input_config1 keyboard 38+alt+shift&#039; des le départ</p>]]></description>
			<author><![CDATA[dummy@example.com (Patak)]]></author>
			<pubDate>Sun, 07 Dec 2008 17:53:14 +0000</pubDate>
			<guid>http://forum.ubuntu-fr.org/viewtopic.php?pid=2263811#p2263811</guid>
		</item>
	</channel>
</rss>
