Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Search found 9 matches

by srs
Mon Oct 04, 2010 11:20 pm
Forum: Plugin Support
Topic: Support for XBMC2 plugin (formerly XBMCRepeat)
Replies: 1402
Views: 614946

Re: XBMCRepeat XBMC plugin based on the official plugin

hi jonib,

I have made a small change to the ButtonPrototype class to allow for better handling of enduring events:


class ButtonPrototype(eg.ActionClass):
def __call__(self):
try:
if eg.event.shouldEnd.isSet():
packet = PacketBUTTON(map_name=str("R1"), button_name=str(self.value), repeat=0 ...
by srs
Wed Jan 28, 2009 8:30 pm
Forum: Coding Corner
Topic: Plugin for USB PC Remote Controller
Replies: 111
Views: 78358

Re: Plugin for USB PC Remote Controller

As promised here is the source.

All it does is open the usb device, and listen for data for data coming in from a pipe. Some remote codes generate multiple key presses, so I ignore everything but the first.

Another option to explore for devices where you want to keep some of the functionality of ...
by srs
Wed Jan 28, 2009 9:08 am
Forum: Coding Corner
Topic: Plugin for USB PC Remote Controller
Replies: 111
Views: 78358

Re: Plugin for USB PC Remote Controller


No, to make sure it works right, add a AutoRepeat action to a macro and look if it starts repeating as it should.


heh! I knew I was missing something. It's working perfectly now.


In your WndProc you also call TriggerEvent() on wParam == 2. Should this condition be a repeating code? If so you ...
by srs
Wed Jan 28, 2009 7:56 am
Forum: Coding Corner
Topic: Plugin for USB PC Remote Controller
Replies: 111
Views: 78358

Re: Plugin for USB PC Remote Controller

only problem I have is with enduring events. Upon key down I set TriggerEnduringEvent() and on key up I do EndLastEvent(), but in between I don't get any repeats. Do I have to do the repeats manually?
by srs
Wed Jan 28, 2009 6:44 am
Forum: Coding Corner
Topic: Plugin for USB PC Remote Controller
Replies: 111
Views: 78358

Plugin for USB PC Remote Controller

This is an alternate driver and plugin to use with some remote control receivers sold on ebay. They usually go for around $15 and include a usb ir receiver and remote. I'm not sure who the manufacturer is, but the usb vendor id is 06B4 and the product id is 1C70 (VID_06B4&PID_1C70). By default, no ...
by srs
Thu Jan 15, 2009 7:51 am
Forum: Coding Corner
Topic: Help converting a girder plugin to python
Replies: 5
Views: 3151

Re: Help converting a girder plugin to python

thanks for the help Bitmonster :)

The problem with my second example seems to have fixed itself when I updated to the latest beta version (at first I mistakenly downloaded the 0.3.6.1476 as it was at the top of the list without paying too much attention to the version number :oops: )

I will go ...
by srs
Fri Dec 19, 2008 3:36 am
Forum: Coding Corner
Topic: Help converting a girder plugin to python
Replies: 5
Views: 3151

Re: Help converting a girder plugin to python

strange.... even this basic plugin gives me errors:


eg.RegisterPlugin(
name = "Asus P5W DH remote",
author = "",
version = "1.0.",
kind = "remote",
description = (
'Plugin for USB IR Reciever of Asus P5W DH Motherboard'
),
)

import win32con
from ctypes import *
from win32con import ...
by srs
Thu Dec 18, 2008 9:44 pm
Forum: Coding Corner
Topic: Help converting a girder plugin to python
Replies: 5
Views: 3151

Re: Help converting a girder plugin to python

yep. Unfortunately it doesn't work.
by srs
Thu Dec 18, 2008 7:59 pm
Forum: Coding Corner
Topic: Help converting a girder plugin to python
Replies: 5
Views: 3151

Help converting a girder plugin to python

hello,

I'm trying to convert a girder plugin I wrote for using the usb ir receiver that comes with my asus p5w dh motherboard.

the girder plugin is as follows:


// AsusP5W_Girder.cpp : Defines the entry point for the DLL application.
//

#include "stdafx.h"

LRESULT CALLBACK WndProc(HWND hWnd ...