Re: Histoire de pavé numérique ( X )
* Home <b.magagnini@free.fr> [2004-03-24 12:43] :
> On Wed, 24 Mar 2004 11:05:58 +0100
> Gabriel Paubert <paubert@iram.es> wrote:
>
>
> > Que dit le programme «xev» quand tu tapes sur cette touche?
> >
> > Sur ma machine:
> >
> > KeyPress event, serial 27, synthetic NO, window 0x2200001,
> > root 0x36, subw 0x0, time 2085610497, (120,76), root:(696,97),
> > state 0x0, keycode 90 (keysym 0xffb0, KP_0), same_screen YES,
> > XLookupString gives 1 characters: "0"
> >
> > KeyRelease event, serial 27, synthetic NO, window 0x2200001,
> > root 0x36, subw 0x0, time 2085610617, (120,76), root:(696,97),
> > state 0x0, keycode 90 (keysym 0xffb0, KP_0), same_screen YES,
> > XLookupString gives 1 characters: "0"
> >
> > La sortie de «xmodmap -pk» peut aussi être intéressante pour chercher
> > l'origine du problème.
> >
> > Gabriel
> >
>
> Bonjour,
>
> Pour la touche 0 :
> ------------------
>
> FocusOut event, serial 28, synthetic NO, window 0x1600001,
> mode NotifyGrab, detail NotifyAncestor
>
> FocusIn event, serial 28, synthetic NO, window 0x1600001,
> mode NotifyUngrab, detail NotifyAncestor
>
> KeymapNotify event, serial 28, synthetic NO, window 0x0,
> keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>
> 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
>
> Pour la touche 1 :
> ------------------
>
> KeyPress event, serial 28, synthetic NO, window 0x1600001,
> root 0x39, subw 0x1600002, time 5345902, (33,29), root:(89,268),
> state 0x10, keycode 87 (keysym 0xffb1, KP_1), same_screen YES,
> XLookupString gives 1 characters: "1"
>
> KeyRelease event, serial 28, synthetic NO, window 0x1600001,
> root 0x39, subw 0x1600002, time 5345987, (33,29), root:(89,268),
> state 0x10, keycode 87 (keysym 0xffb1, KP_1), same_screen YES,
> XLookupString gives 1 characters: "1"
>
> Je ne sais interprété ce genre de sortie.
Les premiers événements indiqués pour la touche 0 ne sont pas des
événements clavier, mais des événement souris (obtention de focus et
perte de focus).
Il est possible que ta touche KP_0 soit cassée. Est-ce que la touche
fonctionne en mode console (showkey pour voir les touches frappées en
console, chez moi keycode, 82 pour KP_0 et 79 pour KP_1) ?
Fred
--
Comment poser les questions de manière intelligente ?
http://www.gnurou.org/documents/smart-questions-fr.html
Code de conduite des listes Debian
http://www.debian.org/MailingLists/#codeofconduct
Reply to: