Typing Game In VLC

Discuss your Lua playlist, album art and interface scripts.
chaignc
New Cone
New Cone
Posts: 1
Joined: 06 Aug 2016 04:44

Typing Game In VLC

Postby chaignc » 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

mederi
Big Cone-huna
Big Cone-huna
Posts: 1951
Joined: 15 Mar 2011 16:38
VLC version: 2.0.8
Operating System: Windows Vista/XP

Re: Typing Game In VLC

Postby mederi » 07 Aug 2016 19:58

And your typewriter would need to disable VLC hotkeys. I don't think it is possible to realise your idea in VLC Lua at the moment.


Return to “Scripting VLC in lua”

Who is online

Users browsing this forum: No registered users and 7 guests