Comments (10)
Can you share your input.conf?
For me, it works.
from input-event.
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.
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
.
from input-event.
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.
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.
Does everything work well if you delete inputevent.lua?
Yes.
Dynamic keybinds just vanished.
from input-event.
Any error or warning in console? " ` " <- default tothis key to open console
from input-event.
Any error or warning in console? " ` " <- default tothis key to open console
No, nothing.
error.mp4
Current issues I found:
- Dynamic keybinds ignored.
- Can't use uosc buttons. (can't even close using the cross on top right corner).
- The only keybinds working are the ones written in
input.conf
from input-event.
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?
from input-event.
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)
- Support multiple clicks for raw press HOT 1
- Support working with uosc and comments
- press/release binding for uosc overwritten? HOT 2
- Add a file header HOT 1
- Shortcut hints in the uosc menu
- MBTN_LEFT: Prevent the first click after focus
- Conditional auto keybind HOT 23
- 允许通过脚本配置文件设置绑定 HOT 12
- Supports mutiple input command perfixes HOT 1
- Re-think: event ignore HOT 1
- Bring back the default behavior via repeat ignore HOT 1
- Inline bind/unbind HOT 1
- Improve `command.split(";")` HOT 1
- Update document
- Delay on Click Commands HOT 2
- Weird behavior with `#@press` when triggering another command at the same time HOT 2
- Document for usage HOT 1
- Document for `script-message bind/unbind` HOT 1
- Shouldn't have repeat before press. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from input-event.