| |||||||
| Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here. |
![]() |
| | Thread Tools | Display Modes |
| | #1 (permalink) |
| Portal Member Join Date: Mar 2005 Location: Alberta, Canada
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
| From now on new releases will be announced here. This thread will be dedicated to technial problems/questions. If people have some spare time, I would appreciate feedback on the plugins I wrote described below (both their usefulness and how they're written). Version 0.2 of InputDeviceMapper and version 0.2 of LiveDriveIR have now been uploaded. InputDeviceMapper has had some serious work done to it. There have been some feature upgrades, a reworked plugin system, and some code clean up. See the changelog for more details. The only change to LiveDriveIR was to make it compatible with the new InputDeviceMapper. The plugins have been uploaded as patches: InputDeviceMapper, LiveDriveIR
__________________ Thanks, --kaburke |
| | |
| | #2 (permalink) |
| Guest
Posts: n/a
| hi, first of a all great work !!! At first look your code seems to be quite clear - you could perhaps have a look here, how naming conventions etc. are in MP http://nolanparty.com/mediaportal.so...pic.php?t=2631 some remarks: - it would be nice if your plugins would be called DevicePlugins or sth. like this so that you can't be confused with "normal" plugins - I think version management for DevicePlugins would be useful if something is changed in your InputDeviceMapper - I think it would be better if the mapping would be linked with a control so that you choose DevicePlugin first and then the mapping - not you can see all mappings all the time - perhaps you could first choose Plugin then show setup dialog with a tabControl where at 1st tab general setup-form, 2nd tab mapping stuff, (perhaps 3rd tab control testing area) - at the moment if you add a new mapping it is really bothering to enter a name, perhaps you could add default name or name=action or something else?! - I think it would be easier if you want to add a lot of mappings that all available commands are listed in a listview and you could select the action you want to learn (perhaps you could have a look on my (old) WinLirc AddOn I posted a few days ago in patch section - I did somthing like that) - small bug: if you have no plugin selected and then click configure plugins -> configure you get an exception but don't get me wrong this should not be criticism - just a few ideas to improve this great project ;-) P.S.: As promised I coded the NewWinLirc as a plugin using your InputDeviceMapper 2.0. You can find it here: https://sourceforge.net/tracker/inde...97&atid=647927 keans |
|
| | #3 (permalink) | ||||||
| Portal Member Join Date: Mar 2005 Location: Alberta, Canada
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
| Thanks for you feedback; I appreciate you taking the time to try the plugins, and even put them to use. Quote:
Quote:
Quote:
As to selecting a Device Plugin first and grouping all mappings in a per Device manner, I purposely did not do that. I thought it could be useful to have a Profile that could contain mappings from several different Device Plugins (e.g., a Profile that allows you to use both a gamepad and a remote at the same time - perhaps the remote when you're in the living room and the gamepad when you're sitting at your computer). Quote:
In InputDeviceMappings v0.3, if the Name field is left blank, I will generate a Name. (Incidentally, in InputDeviceMappings v0.2 there wasn't anything stopping you from leaving the Name field blank - your mapping simply wouldn't have had a name.) Quote:
Quote:
Incidentally, I'm going to post InputDeviceMappings v0.3 in the usual spot in about 30-60 minutes, once I have it packaged and the documents updated. InputDeviceMappings v0.3 has been uploaded as a patch: InputDeviceMapper
__________________ Thanks, --kaburke | ||||||
| | |
| | #4 (permalink) | ||||||
| Guest
Posts: n/a
| Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
All in all good work - that is really fast progress 8) keans | ||||||
|
| | #5 (permalink) | |||
| Guest
Posts: n/a
| cool plugin. I just created a plugin to make use of my sapphire remote that came with my theatrix, and possibly other remotes that use a usb IR thing. I ran into a few problems though, I don't know if it's my plugin or InputDeviceMapper. When I go to learn a command and press a button on my remote and then press a different button on the remote an exception is raised. Quote:
'40320' is the code for the button I pressed and it's not assigned to any command. Quote:
Quote:
I'm a little new to c#, is there a way to create a WndProc without creating a Form? Because the way I'm getting input from the remote is from the WM_INPUT message. I have the Form's visible property set to hidden after I call Show(), but it still shows up for about a millisecond. | |||
|
| | #6 (permalink) | |||
| Guest
Posts: n/a
| hi, Quote:
Quote:
Quote:
keans | |||
|
| | #7 (permalink) | ||||||
| Guest
Posts: n/a
| Quote:
Quote:
Quote:
| ||||||
|
| | #9 (permalink) |
| Guest
Posts: n/a
| OK here's my plugin. It works perfectly for me. I don't know if it will work on other remotes that use the WM_INPUT message because I only have one remote, the one that came with my theatrix. http://www.wtfhost.com/userfiles/mace/USBRemoteIR.rar |
|
| | #10 (permalink) | |||
| Portal Member Join Date: Mar 2005 Location: Alberta, Canada
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
| Sorry I didn't reply sooner - I was busy this weekend and didn't get a chance to watch the posts. Quote:
I don't know why this could be happening (though it would help to have more information about the details, such as answers the the above questions). Unfortunely I don't have a USB IR dongle to try it out, but I will look at your source code and see if I can figure out how my code is misbehaving in relation to it. Quote:
But, again, I'll look at the code. Quote:
InputDeviceMapper v0.4 should be out soon - perhaps end of today. It will include some drastic (I hope) improvements in interface, particularly for creating new profiles/learning commands, as well as some bug fixes.
__________________ Thanks, --kaburke | |||
| | |
![]() |
| Bookmarks |
| Tags |
| inputdevicemapper, livedriveir, versions |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Announce your plugin work in progress here!!!!!!!! | MrMario64 | General Development (no feature request here!) | 97 | 2008-04-16 20:41 |
| HowTo easily flick between diff MP versions (inc v2,v3 tv engine) | HappyTalk | Tips and Tricks | 6 | 2007-02-06 14:58 |
| InputDeviceMapper Plugin | kaburke | Plugins | 47 | 2006-11-07 09:30 |
| LiveDriveIR Plugin | kaburke | Plugins | 5 | 2005-06-07 05:08 |
| InputDeviceMapper and LiveDriveIR Configuration Problem | kaburke | Plugins | 3 | 2005-03-09 09:07 |