TechnicalRaw mouse data?

 

Press Ctrl+Enter to quickly submit your post
Quick Reply  
 
 
  
 From:  koswix  
 To:  ALL
41721.1 
Anyone know of a tool to record raw mouse input events (i.e. delta X and delta Y, rather than just grabbing the current cursor position)?

Ideally would like to be able to choose which mouse to capture (assuming there are more than 1 mice connected to the PC), and record the data into a usable format (CSV would be fine).

I've seen there's a raw input API in windows, so surely someone must have written this already so I don't have to try and remember how to use proper programming languages...

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.
0/0
 Reply   Quote More 

 From:  CHYRON (DSMITHHFX)  
 To:  koswix     
41721.2 In reply to 41721.1 
If you ask nicely, I'm fairly sure the Feds already have it.
"Force Trump to spend as much as five minutes with one of his own supporters." - Secret Republican blueprint for stopping Donald Trump
0/0
 Reply   Quote More 

 From:  koswix  
 To:  CHYRON (DSMITHHFX)     
41721.3 In reply to 41721.2 
I asked, but all they said was bad on you.

I found MouseTrace on github, it works but it is not very user friendly. It's enough to prove the concept though, so hopefully it'll do. If something better turns up then yay, but not stressing so much now I've at least got *something*

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.
0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  koswix     
41721.4 In reply to 41721.1 
Code: 
watch xdotool getmouselocation


(X11 supports multiple mice but only one pointer so the other part is moot).

(And yeah I know but fuck you :Y )

0/0
 Reply   Quote More 

 From:  koswix  
 To:  Drew (X3N0PH0N)     
41721.5 In reply to 41721.4 
I did play with that earlier, but that's cursor position not delta x/y. As such it's range is limited by screen resolution (plus it's filtered by muse sensitivity settings, like how many mm movement = 1 pixel, acceleration settings etc. ).

At least that's all I could get from it earlier, if you know how to get raw data that'd be mostly perfect!

Also I considered reading the events from /dev/mouse0 with a bash script to log the output , but I've really no idea how to actually do that.

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.

0/0
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  koswix     
41721.6 In reply to 41721.5 
Ahh, you want delta. Yeah. Hmm.

This might be useful.
0/0
 Reply   Quote More 

 From:  koswix  
 To:  Drew (X3N0PH0N)     
41721.7 In reply to 41721.6 
Ooh, that looks pretty simple which is exactly what I need. I've got python 2.something and 3 installed, too.

I like the bit in the comments where one guy is like "argh I can't make it work! Halp! Is it permissions?" and then the other guy is like "did you run it as root?" and then the first guy's like "fixed now. Forgot to move the mouse (fail) "

 ▪                    
             ┌────┐    ┌────┐                      
          │    │    │    │ ▪                    
          │    └────┘    │                      
          │   ──┐  ┌──   │ ▪                    
   ┌──────┤    ▪    ▪    │                      
  ┌┘      │              │ ▪                    
┌─┤       └──┐  │  │  ┌──┘                      
│ │          │ ││  ││ │   ┌─┐                   
│ │          └─┼┤  └┴─┴───┘ │                   
│ │           ─┘│           │                   
│ │   ┌──────┐  └┬──────────┘                   
  │   │      │   │                              
  │   │      │   │                              
  └───┘      └───┘                              
If Feds call you and say something bad on me, it may prove what I said are truth, they are afraid of it.

+1/1
 Reply   Quote More 

 From:  Drew (X3N0PH0N)  
 To:  koswix     
41721.8 In reply to 41721.7 
Hahaha. Genius.
0/0
 Reply   Quote More 

Reply to All    
 

1–8

Rate my interest:

Adjust text size : Smaller 10 Larger

Beehive Forum 1.5.2 |  FAQ |  Docs |  Support |  Donate! ©2002 - 2024 Project Beehive Forum

Forum Stats