Portál AbcLinuxu, 10. května 2025 01:08

Dotaz: xorg: emulace button 6

30.11.2006 12:14 buttonSix
xorg: emulace button 6
Přečteno: 101×
Odpovědět | Admin
Mam obycejnou kancelarskou mys s jednim koleckem a velice jsem si navykl v opere pouzivat "button 6" a "button 7" - coz znamena rychle cuknuti koleckem nahoru/dolu (namapovano na na skok na zacatek/konec stranky je skutecne navykova zalezitost)

Nicmene po nejakem upgreadu mi to prestalo fungovat a po zbeznem zkoumani vyslo najevo, ze to je spise ficura z xorg (opera se neupgreadovala, opera na win to take nema) Coz je sice dobra zprava - bude to lze pak pouzivat i v jinych aplikacich, ale zatim nevim jak zminene chovani vytobyt zpatky.

..nepouziva nekdo, plz?
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

30.11.2006 12:57 finn | skóre: 43 | blog: finnlandia | 49° 44´/13° 22´
Rozbalit Rozbalit vše Re: xorg: emulace button 6
Odpovědět | | Sbalit | Link | Blokovat | Admin
xmodmap?
Užívej dne – možná je tvůj poslední.
6.12.2006 10:12 karpi
Rozbalit Rozbalit vše xorg: emulace button 6 :)) návykový bug
Odpovědět | | Sbalit | Link | Blokovat | Admin
On Dec 01, 06 12:34:01 +0100, karpi wrote:
> > > Now i found you probably fixed this behavior as a bug in the version
> > > 1.1.1 :((
> > 
> > Yes, this was a bug, and you were probably the only guy who liked this
> > behavior ;-)
> Oh! on the whole whole world, in the all space only me? Im feeling
> _so_ importent :))

:-P  We all do


> > > Is there some way to got this behavior back ?
> > Option "zAxisMapping" "4 5 6 7"
> > 
> unfortunatelly not :(

Ok, then we have to analyze.
Are you sure you only changed the X.org release (and not e.g. the kernel
as well)? I do not remember exactly, but it could well be that the
kernel guys changed the interface as well in the meantime (because the
way it was it didn't allow for multiwheel mice).

> (**) Mouse0: ZAxisMapping: buttons 4, 5, 6 and 7

Hm, that worked.

> .. but xev announces only :
> ButtonRelease event, serial 30, synthetic NO, window 0x2000001,
>     root 0x4d, subw 0x0, time 1035637284, (169,2), root:(170,748),
>     state 0x1010, button 5, same_screen YES

Try "evtest /dev/input/eventX" (you have to try different values for X
to find the right event interface).

If you only get values -1 and 1 for (Wheel) events, the kernel has
changed indeed. You used to get higher values here as well.

> I would like speak for returning this behavior back as a feature, in
> some way so that nobody was confused (any new option or something). My
> opinion is that is more usefull to have 7 configurable buttons then 5,
> on common chep mouse. Do you share this idea ?

Actually, the former behavior was clearly a bug. Having this behavior on
purpose could be considered a feature, but so far I doubt there will be
many people that like this behavior. And given that the days of the
standard mouse driver are probably counted, I doubt there will be anyone
working on that.

Except of course, if you implement it yourself, if the patch is well
structured I'll happily apply it upstream :)

CU

Matthias

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.