Typing Game In VLC
Posted: 06 Aug 2016 06:35
Hello,
I would like to be able to receive all keypress events in lua when vlc has the focus.
I saw there are some work around with third party because we can't do the add_callback anymore, but I don't really want to dive in a third party now for obvious design reason.
I very new to lua so I'm wondering if maybe I could spawn a thread and listen key events ?
This sound easily done in python but I want to give a try to lua https://github.com/dschreij/media_playe ... yer_vlc.py
One another solution would be to create a dialog with an input but wouldn't be nice and not working for fullscreen.
I'm hoping maybe there is a way of doing it with libvlc but not too much
I want to create a little plugin where I can type the subtitle with correction feedback (it's just for type writing purpose).
Thx
I would like to be able to receive all keypress events in lua when vlc has the focus.
I saw there are some work around with third party because we can't do the add_callback anymore, but I don't really want to dive in a third party now for obvious design reason.
I very new to lua so I'm wondering if maybe I could spawn a thread and listen key events ?
This sound easily done in python but I want to give a try to lua https://github.com/dschreij/media_playe ... yer_vlc.py
One another solution would be to create a dialog with an input but wouldn't be nice and not working for fullscreen.
I'm hoping maybe there is a way of doing it with libvlc but not too much
I want to create a little plugin where I can type the subtitle with correction feedback (it's just for type writing purpose).
Thx