# Form11 of 2001: what each axis and button of the joystick does. form: title: 'Configuration' dialog: true width: 460 theme: dark accent: '#ff8080' gap: 8 children: - type: panel title: 'Choix du joystick' layout: row gap: 16 children: - {type: radio, id: pad1, text: 'Joystick N°1', group: pad} - {type: radio, id: pad2, text: 'Joystick N°2', group: pad} - {type: spacer} - {type: label, id: padName, text: '', style: muted} - type: panel title: 'Configuration du Joystick' gap: 4 children: - type: row children: [{type: label, id: lxp, text: 'Axe X+ :', width: 90}, {type: combobox, id: xp, grow: 1}] - type: row children: [{type: label, id: lxm, text: 'Axe X- :', width: 90}, {type: combobox, id: xm, grow: 1}] - type: row children: [{type: label, id: lyp, text: 'Axe Y+ :', width: 90}, {type: combobox, id: yp, grow: 1}] - type: row children: [{type: label, id: lym, text: 'Axe Y- :', width: 90}, {type: combobox, id: ym, grow: 1}] - type: row children: [{type: label, id: lb1, text: 'Button 1 :', width: 90}, {type: combobox, id: b1, grow: 1}] - type: row children: [{type: label, id: lb2, text: 'Button 2 :', width: 90}, {type: combobox, id: b2, grow: 1}] - type: row children: [{type: label, id: lb3, text: 'Button 3 :', width: 90}, {type: combobox, id: b3, grow: 1}] - type: row children: [{type: label, id: lb4, text: 'Button 4 :', width: 90}, {type: combobox, id: b4, grow: 1}] - {type: checkbox, id: enabled, text: 'Activer le joystick'} - {type: label, text: 'Clavier : Espace play/pause, Z précédent, X play, C pause, V stop, B suivant, flèches : position et volume, H hasard, L paroles, P playlist, M compact.', style: muted} - type: row children: - {type: spacer} - {type: button, id: ok, text: OK, style: primary, default: true, cancel: true, events: {click: onOkClick}}