Solved Don't show "Player controls (OSD)" at mouse move
#1
Please remove or add an option to disable, the very annoying "Show Player controls (OSD)" while "Video playback" at mouse move because there can be a lot of accidental mouse moves while watching videos (especially while not in full screen) and the player controls beside covering a big part of the screen are covering the subtitles too
Also the very same thing can be done by mouse left click (which it's more unlikely to be be done by accident)


P.S. And please add mouse double click command to enter / exit full screen
Reply
#2
you could try adding

Code:
<mousemove>noop</mousemove>
in the fullscreen window section of your Keymap
Reply
#3
Doesn't seem to work.

I added this:

<FullscreenVideo>
<keyboard>
<mousemove>noop</mousemove>
...

No effect, and I see this in the log:

22:55:08 T:7236 ERROR: Keyboard Translator: Can't find button mousemove
22:55:08 T:7236 ERROR: Previous line repeats 1 times.
Reply
#4
It can be solved by adding
Code:
<mousemove>noop</mousemove>
to mouse.xml in an <FullscreenLiveTV> and <FullscreenVideo> section
And so the double click enter /exit full screen
Code:
<doubleclick>ToggleFullScreen</doubleclick>
in the <mouse> section

But I was suggesting this changes as a part of the default mouse.xml
Here is my mouse.xml for those interested
Code:
<keymap>
  <global>
    <mouse>
      <leftclick>leftclick</leftclick>
      <middleclick>middleclick</middleclick>
      <rightclick>rightclick</rightclick>
      <doubleclick>doubleclick</doubleclick>
      <wheeldown>wheeldown</wheeldown>
      <wheelup>wheelup</wheelup>
      <mousedrag>mousedrag</mousedrag>
      <mousemove>mousemove</mousemove>
      <doubleclick>ToggleFullScreen</doubleclick>
    </mouse>
  </global>
  <SlideShow>
    <mouse>
      <leftclick>Pause</leftclick>
      <rightclick>PreviousMenu</rightclick>
      <wheelup>PreviousPicture</wheelup>
      <wheeldown>NextPicture</wheeldown>
    </mouse>
  </SlideShow>
  <FullscreenVideo>
    <mouse>
      <middleclick>Pause</middleclick>
      <wheelup>VolumeUp</wheelup>
      <wheeldown>VolumeDown</wheeldown>
      <mousemove>noop</mousemove>
    </mouse>
  </FullscreenVideo>
  <FullscreenLiveTV>
    <mouse>
      <middleclick>Pause</middleclick>
      <wheelup>VolumeUp</wheelup>
      <wheeldown>VolumeDown</wheeldown>
      <mousemove>noop</mousemove>
    </mouse>
  </FullscreenLiveTV>
</keymap>
Reply
#5
Cool, that worked thanks!
Reply
#6
marked as solved
Reply
#7
(2013-06-09, 17:45)Mercury_22 Wrote: It can be solved by adding
Code:
<mousemove>noop</mousemove>
to mouse.xml in an <FullscreenLiveTV> and <FullscreenVideo> section
And so the double click enter /exit full screen
Code:
<doubleclick>ToggleFullScreen</doubleclick>
in the <mouse> section

But I was suggesting this changes as a part of the default mouse.xml
Here is my mouse.xml for those interested
Code:
<keymap>
  <global>
    <mouse>
      <leftclick>leftclick</leftclick>
      <middleclick>middleclick</middleclick>
      <rightclick>rightclick</rightclick>
      <doubleclick>doubleclick</doubleclick>
      <wheeldown>wheeldown</wheeldown>
      <wheelup>wheelup</wheelup>
      <mousedrag>mousedrag</mousedrag>
      <mousemove>mousemove</mousemove>
      <doubleclick>ToggleFullScreen</doubleclick>
    </mouse>
  </global>
  <SlideShow>
    <mouse>
      <leftclick>Pause</leftclick>
      <rightclick>PreviousMenu</rightclick>
      <wheelup>PreviousPicture</wheelup>
      <wheeldown>NextPicture</wheeldown>
    </mouse>
  </SlideShow>
  <FullscreenVideo>
    <mouse>
      <middleclick>Pause</middleclick>
      <wheelup>VolumeUp</wheelup>
      <wheeldown>VolumeDown</wheeldown>
      <mousemove>noop</mousemove>
    </mouse>
  </FullscreenVideo>
  <FullscreenLiveTV>
    <mouse>
      <middleclick>Pause</middleclick>
      <wheelup>VolumeUp</wheelup>
      <wheeldown>VolumeDown</wheeldown>
      <mousemove>noop</mousemove>
    </mouse>
  </FullscreenLiveTV>
</keymap>

Wonderful work.
Strange and sad it's not in the default Kodi system.
Reply
#8
Well, it would be bad to do that as a default for the few users who want to show the OSD controls with a mouse.

What might be acceptable is to disable mousemove and then allow mousecclick to enable the OSD, and for the OSD "window" the mouse movement would be functional again.

EDIT: I think we can even make this safe for DVD menus. I'll try experimenting later today.
Reply
#9
get your arm off that damn rat. problem solved.
Reply
#10
(2015-05-13, 22:49)Ned Scott Wrote: disable mousemove and then allow mousecclick to enable the OSD, and for the OSD "window" the mouse movement would be functional again.

BAD IDEA!! Confused Its fine how it is.

OK. Maby if a DVD is Playing, not shure about that.-
However; thouth this could confuse Users if they have to klick there (Insdtead of Mousemove) to bring up the OSD. So maby even may not there usefull!
Reply
#11
(2015-05-14, 10:36)ironic_monkey Wrote: get your arm off that damn rat. problem solved.
what he said Smile
Reply
#12
(2015-05-14, 16:13)Rantanplan-1 Wrote:
(2015-05-13, 22:49)Ned Scott Wrote: disable mousemove and then allow mousecclick to enable the OSD, and for the OSD "window" the mouse movement would be functional again.

BAD IDEA!! :s Its fine how it is.

OK. Maby if a DVD is Playing, not shure about that.-
However; thouth this could confuse Users if they have to klick there (Insdtead of Mousemove) to bring up the OSD. So maby even may not there usefull!

Yeah, but using a mouse to control Kodi is a crime against nature, so I don't really feel bad about people who are confused, and it would stop all those airmouse remotes from screwing things up :)
Reply
#13
No. This is fine as is.
My patches (source code) :: Windows installer builds
These builds are unofficial! If you find a bug, make sure it is also present in a recent official build and you can reproduce it before filing a ticket.
Reply
#14
Outside of learning the new behavior, I'm not sure why even mouse users would see it as a bad thing. We've all used a mouse to control Kodi at one time or another, and things like the OSD popping up because you bumped the table is very frustrating. After having tried it out myself, it's a massive improvement and makes a mouse a lot more practical in an otherwise awkward environment.
Reply
#15
Hmm, what if it were possible to "lock" mousemove on/off? We don't have anything using middle mouse button by default.
Reply
 
Thread Rating:
  • 1 Vote(s) - 5 Average



Logout Mark Read Team Forum Stats Members Help
Don't show "Player controls (OSD)" at mouse move51