Ticket #10069 (new Patch - Feature)
Opened 21 months ago
Last modified 20 months ago
Input manager for MythUI
| Reported by: | Xavier Hervy <xavier.hervy@…> | Owned by: | stuartm |
|---|---|---|---|
| Priority: | minor | Milestone: | unknown |
| Component: | MythTV - User Interface Library | Version: | Unspecified |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
As proposed in ticket #10053, this is the implementation of a plugin system for user input device. To create a new plugin, we need to include mythinputinterface.h, no other include is required.
This interface allow the plugin to send QKeyEvent to the main window, get and store its settings and display some messages in the terminal (Error, Warning, Info and Debug)
It make it very easy to create new input plugin. new plugin need to be include in the plugin directory in inputevents i.e on my system /usr/local/lib/mythtv/inputevents
Attachments
Change History
Changed 21 months ago by Xavier Hervy <xavier.hervy@…>
- Attachment mythinputmanager-2009-09-29.diff added
comment:1 Changed 21 months ago by Xavier Hervy <xavier.hervy@…>
Also attached to simple and most likely not complete implementation of a plugin:
- Lirc (using .lircrc2 instead of .lircrc so it can be tested without the need to remove the build in lirc). It is not meant to replace the build in lirc, but it does allow we to test the interface
- Simple Plugin for the Wii Remotes (require cwiid)
comment:2 Changed 20 months ago by Xavier Hervy <xavier.hervy@…>
I suspect my patch to cause the frontend to crash on exit. I have no time to track it down right now but will definitely do it in the near future
