Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mauseinstellungen DPI auslesen
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3468
Location: Berlin

PostPosted: Mon Jan 17, 2022 1:49 pm    Post subject: Mauseinstellungen DPI auslesen Reply with quote

Hallo, meine neue PC Maus hat eine Taste um DPI zu wechseln. Gibt es eine Möglichkeit die aktuelle Einstellung auszulesen?
Code:
xinput list
⎡ Virtual core pointer                          id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ MOSART Semi. 2.4G Wireless Mouse          id=11   [slave  pointer  (2)]
⎜   ↳ MOSART Semi. 2.4G Wireless Mouse Consumer Control id=12   [slave  pointer  (2)]
⎣ Virtual core keyboard                         id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Power Button                              id=7    [slave  keyboard (3)]
    ↳ Dell Dell USB Keyboard Hub                id=8    [slave  keyboard (3)]
    ↳ Dell Dell USB Keyboard Hub Consumer Control       id=9    [slave  keyboard (3)]
    ↳ Dell Dell USB Keyboard Hub System Control id=10   [slave  keyboard (3)]
    ↳ MOSART Semi. 2.4G Wireless Mouse Consumer Control id=13   [slave  keyboard (3)]
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Mon Jan 17, 2022 2:01 pm    Post subject: Reply with quote

da deine maus sich auch als keyboard meldet, könntest du mal
Code:
xinput test-xi2 --root 13

laufen lassen, und schaun ob da was kommt, wenn du den button drückst
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3468
Location: Berlin

PostPosted: Mon Jan 17, 2022 2:14 pm    Post subject: Reply with quote

Bei 2 und 11 kommen Reaktionen in der Konsole. Allerdings nicht bei dieser "DPI-Taste".
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Mon Jan 17, 2022 4:16 pm    Post subject: Reply with quote

hast du rausgefunden, wann bei device 13 events kommen?
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Mon Jan 17, 2022 7:49 pm    Post subject: Reply with quote

Es hängt davon ab, was Du genau wissen willst.

Wenn ich mir das Maus-Protokoll ansehe, gibt es dort keine Status-Ausgabe, mit der die Maus ihre Auflösung in dpi überträgt.

Es aber Kommandos, um die Anzahl der Counts/mm und die Sampling Rate zu setzen bzw. auszulesen.
Back to top
View user's profile Send private message
flammenflitzer
Advocate
Advocate


Joined: 25 Nov 2003
Posts: 3468
Location: Berlin

PostPosted: Tue Jan 18, 2022 2:04 pm    Post subject: Reply with quote

Code:
 xinput test-xi2 --root 13
MOSART Semi. 2.4G Wireless Mouse Consumer Control       id=13   [slave  keyboard (3)]
        Reporting 1 classes:
                Class originated from: 13. Type: XIKeyClass
                Keycodes supported: 248

Mehr ist da nicht.... Bei
Code:
xinput test-xi2 --root 2
Kommt bei allen anderen Tasten
Code:
EVENT type **
Nur bei der DPI Taste passiert nichts.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum