[vlc-devel] [Patch][GSoC:2009] wiimote module

Leon Moctezuma densedev at gmail.com
Fri Oct 2 00:57:19 CEST 2009


Hi all,

here is a new patch with some small changes...

On 10/1/09, Leon Moctezuma <densedev at gmail.com> wrote:
>>
>> +static void Close( vlc_object_t *p_this )
>> +{
>> +    intf_thread_t *p_intf = (intf_thread_t *)p_this;
>> +    intf_sys_t *p_sys = p_intf->p_sys;
>> +
>> +    free( p_sys );
>> +}
>>
>> How is this unregistering from libcwiid?
>>
>>
> Oh I think, I'm missing a cwiid_close(p_sys->p_wiimote), thanks.
>
>
>>
>> +    msg_Err(p_intf, "Put Wiimote in discoverable mode (press 1+2) to
>> connect
>> it...\n");
>>
>> This should probably use on of the dialog_*() function. Most users won't
>> see
>> the VLC messages console.
>>
>>
> Totally true, I just did it that way, because i don't know how to send such
> dialog from the wiimote module, if you can tell how, I will modify it :P.
>
> --
> León Moctezuma
>

-- 
León Moctezuma
-------------- next part --------------
A non-text attachment was scrubbed...
Name: wiimote.patch
Type: text/x-patch
Size: 19325 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091001/90323fba/attachment.bin>


More information about the vlc-devel mailing list