Opened 12 years ago

Closed 4 years ago

#10069 closed Patch - Feature (Abandoned)

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 (3)

mythinputmanager-2009-09-29.diff (17.2 KB) - added by Xavier Hervy <xavier.hervy@…> 12 years ago.
mythinputlirc.tar.gz (2.4 KB) - added by Xavier Hervy <xavier.hervy@…> 12 years ago.
mythwiimote.tar.gz (3.4 KB) - added by Xavier Hervy <xavier.hervy@…> 12 years ago.

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by Xavier Hervy <xavier.hervy@…>

Changed 12 years ago by Xavier Hervy <xavier.hervy@…>

Attachment: mythinputlirc.tar.gz added

Changed 12 years ago by Xavier Hervy <xavier.hervy@…>

Attachment: mythwiimote.tar.gz added

comment:1 Changed 12 years 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 12 years 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

comment:3 Changed 4 years ago by Stuart Auchterlonie

Resolution: Abandoned
Status: newclosed

Closing obsolete tickets

Note: See TracTickets for help on using tickets.