Giter Site home page Giter Site logo

Comments (10)

natural-harmonia-gropius avatar natural-harmonia-gropius commented on August 29, 2024

Can you share your input.conf?
For me, it works.

from input-event.

BhaturaGuy avatar BhaturaGuy commented on August 29, 2024

input.conf isn't required since just dropping inputevent.lua to my scripts folder makes chapterlist.lua to ignore

add_keys(o.key_scroll_down, 'scroll_down', function() list:scroll_down() end, { repeatable = true })
add_keys(o.key_scroll_up, 'scroll_up', function() list:scroll_up() end, { repeatable = true })
add_keys(o.key_move_pageup, 'move_pageup', function() list:move_pageup() end, {})
add_keys(o.key_move_pagedown, 'move_pagedown', function() list:move_pagedown() end, {})
add_keys(o.key_move_begin, 'move_begin', function() list:move_begin() end, {})
add_keys(o.key_move_end, 'move_end', function() list:move_end() end, {})
add_keys(o.key_open_chapter, 'open_chapter', open_chapter, {})
add_keys(o.key_close_browser, 'close_browser', function() list:close() end, {})

But it doesn't hamper mp.register_script_message("toggle-chapter-browser", function() list:toggle() end) since it is in my input.conf TAB script-message-to chapter_list toggle-chapter-browser.
Maybe it can be fixed by adding them in input.conf? But then again I use UP, DOWN and scroll wheel for volume. And their function is only different when toggle-chapter-browser is in focus.

from input-event.

natural-harmonia-gropius avatar natural-harmonia-gropius commented on August 29, 2024

Weird, I just add script-message-to chapter_list toggle-chapter-browser too.
Can you show your shift+i 4? See what's taking up wheel_up.

image
image

from input-event.

BhaturaGuy avatar BhaturaGuy commented on August 29, 2024

image
Also I just noticed, I can click on timeline with left click now.
I had buttons in uosc as some binds even they stopped working, though I can use them using keybinds
Almost everything broke.

from input-event.

natural-harmonia-gropius avatar natural-harmonia-gropius commented on August 29, 2024

You can scroll down this page to find the wheel_up and wheel_down.

Does everything work well if you delete inputevent.lua?

from input-event.

BhaturaGuy avatar BhaturaGuy commented on August 29, 2024

Does everything work well if you delete inputevent.lua?

Yes.

Dynamic keybinds just vanished.
image

from input-event.

natural-harmonia-gropius avatar natural-harmonia-gropius commented on August 29, 2024

Any error or warning in console? " ` " <- default tothis key to open console

from input-event.

BhaturaGuy avatar BhaturaGuy commented on August 29, 2024

Any error or warning in console? " ` " <- default tothis key to open console

No, nothing.

error.mp4

Current issues I found:

  1. Dynamic keybinds ignored.
  2. Can't use uosc buttons. (can't even close using the cross on top right corner).
  3. The only keybinds working are the ones written in input.conf

from input-event.

natural-harmonia-gropius avatar natural-harmonia-gropius commented on August 29, 2024

I have no idea what's happening here.

Can you upload your mpv.conf?

If you delete this part (at end of inputevent.lua), does everything works?
image

from input-event.

BhaturaGuy avatar BhaturaGuy commented on August 29, 2024

Upon closer inspection, this seems to be an issue of another script/or maybe mpv.
Sorry for wasting your time.

from input-event.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.