Modifications

Sauter à la navigation Sauter à la recherche
Ligne 113 : Ligne 113 :  
};</nowiki>
 
};</nowiki>
   −
<small>Note de MCHobby:<br />
+
<small>{{underline|Note de MCHobby:}}<br />
 
Les constantes (KEY_LEFT,...) correspondant aux touches provient du fichier d'entête input.h. Ces constantes sont en anglais (un standard international). Voici quelques termes de base pour vous aider à comprendre:
 
Les constantes (KEY_LEFT,...) correspondant aux touches provient du fichier d'entête input.h. Ces constantes sont en anglais (un standard international). Voici quelques termes de base pour vous aider à comprendre:
 
* KEY : clé... comprenez touche
 
* KEY : clé... comprenez touche
Ligne 120 : Ligne 120 :  
* CTRL: la touche "ctrl" dit 'Contrôle'.
 
* CTRL: la touche "ctrl" dit 'Contrôle'.
 
* ALT: la touche "alt". KEY_LEFTALT correspond donc à la "touche alt à gauche" sur le clavier.
 
* ALT: la touche "alt". KEY_LEFTALT correspond donc à la "touche alt à gauche" sur le clavier.
N'hésitez pas à consulter le contenu du fichier ''input.h'' dans le répertoire {{code|/usr/include/linux/}} pour découvrir les autres touches mises à votre disposition)</small>
+
N'hésitez pas à consulter le contenu du fichier ''input.h'' dans le répertoire ''/usr/include/linux/'' pour découvrir les autres touches mises à votre disposition)</small>
    
Each line in this table contains two elements. The first is a GPIO pin number (where a button or one direction from a joystick is attached), the second is the corresponding key code to be generated by this control. A list of valid key code names can be found in the file /usr/include/linux/input.h starting around line 178. Remember to enclose each pin/key pair in {curly braces} with a comma between them.
 
Each line in this table contains two elements. The first is a GPIO pin number (where a button or one direction from a joystick is attached), the second is the corresponding key code to be generated by this control. A list of valid key code names can be found in the file /usr/include/linux/input.h starting around line 178. Remember to enclose each pin/key pair in {curly braces} with a comma between them.
29 918

modifications

Menu de navigation