wavexx / screenkey

A screencast tool to display your keys inspired by Screenflick
https://www.thregr.org/~wavexx/software/screenkey/
GNU General Public License v3.0
758 stars 65 forks source link

Feature request : Mouse #43

Closed ChameleonScales closed 5 years ago

ChameleonScales commented 7 years ago

key-mon is a good alternative but screenkey is much better for the keyboard. Unfortunately key-mon can't hide all the keyboard buttons, there's at least one. This makes is pretty annoying if you want to use screenkey for the keyboard and key-mon for the mouse. I could ask to key-mon to add a mouse-only option but the links to feature requests and bug reports (given here) are dead and its development seems much less active, so I feel I have more chance to ask for a mouse feature here. Unless you know a program that shows only the mouse ?

wavexx commented 7 years ago

On Mon, Apr 17 2017, Caetano Veyssières wrote:

want to use both programs. I could ask to key-mon to add a mouse-only option but the links to feature requests and bug reports (given here) are dead and its development seems much less active, so I feel I have more chance to ask for a mouse feature here.

key-mon has also some issues with the mouse circling feature by the way, and it's generally lagging a few ms behind on my machine because it shows/hides/moves the window at each click, which involves the window manager.

It's in the plan to have this in screenkey too. There is already code I wrote last year to log mouse events, but I didn't get to implement the visualization yet. 'been busy with other projects

wavexx commented 7 years ago

To answer the second part, I still use keymon, but I hide the status window (so I just get the circling) for now. Ugly hack, but does the job.

I also use gromit-mpx (https://github.com/bk138/gromit-mpx) to annotate the screen while teaching. Very useful.

ChameleonScales commented 7 years ago

Cool to know there's a plan for it. If you make it happen, I have a suggestion for the display. In addition to having some kind of mouse like this :

we could have an option to show the buttons on top of the cursor. I tried to figure a design that would be cristal clear about which button is pushed while not being too intrusive, and I think this could do it well :

I do some video tutorials on Blender 3D and this would be much more useful than a mouse at the bottom of the screen because mouse buttons are really important in Blender and you're usually looking at the cursor when watching the video (and it probably applies to most programs).

Also thanks for Gromit-mpx, cool program.

pdeman commented 6 years ago

is there any update for the mouse using screenkey ? can it record right and left click ?

ChameleonScales commented 6 years ago

@pdeman Yes, simply download and install the "feature mouse" branch from zaygraveyard's fork. Here's the link : https://github.com/zaygraveyard/screenkey/tree/feature/mouse

pdeman commented 6 years ago

Hi, I have cloned the feature mouse branch, but when I run ./screenkey I don't have the mouse feature. is there any option to activate it ?

pdeman commented 6 years ago

ok I found the option in preference but what it does is "activating" the "transparent black background" where the keyboard activity is shown. but it's not said mouse or whatever. it's just the transparent black background. no indication that it's a mouse event which "activated it", neither if it's the left or right mouse click. is that normal ?

ChameleonScales commented 6 years ago

can you show a screenshot of your preferences ?

pdeman commented 6 years ago

actually it works when running from the main folder but not when running from build/scripts-2.7 I didn't see last time but I had a python error

Failed to open file 'images/released.png'

and of course the folder images is not in build/scripts

the icon is a little too much on the left but I'll play with the options to see if I can change the position

ChameleonScales commented 6 years ago

You can change the position of the mouse by changing the position of the entire panel. Click on "Select Window or region" and draw a rectangle If Position is set to top, bottom or center, the bar will use the rectangle as a screen and be displayed within it accordingly. Alternatively, if you set Position to fixed, you will draw a rectangle that will delimit the bar itself (width and height).

absorber commented 6 years ago

@ChameleonScales did you do a PR of your mouse branch? I'm using it now and it's pretty good so far. Though personally I'd also change the display to allow better discerning of quick consecutive mouse clicks. Perhaps a wave?

ChameleonScales commented 6 years ago

@absorber I'm not the one writing code here. I'm the one asking for features. @zaygraveyard is the one who made the fork. But yes there is a PR: https://github.com/wavexx/screenkey/pull/65