PDA

View Full Version : USB Mouse support in XBMC!, thanks!


Asteron
2004-09-08, 05:58
after deciding to make a usb cable today i got a chance to try out the new mouse support on xbmc.

pretty snazzy so far :-) it took me a while to figure out what the buttons would do though (like to right click navigates back unless you right click on a file in which case it adds to playlist blah blah)

but for the most part it was pretty intuitive though i never did figure out how to switch between source and destination in "my files".

the act of selecting files for the playlist and navigating directories was beautiful! it's a shame though that the mouse interaction doesnt appear to have its own thread (when loading directories/playlists/streaming videos the cursor jerks or pauses) but for the most part its pretty cool.

i really like the scroll wheel behavior.

what other usb devices are supported now? im assuming a keyboard...

hmmm would be pretty cool if you could hook up a digital camera for photos or an ipod for tunes...

actually that probably works right? doesnt the bios detect usb storage devices as a memcard?

jmarshall
2004-09-08, 13:07
glad you like it. i made it as obvious as i could, glad you found most things out :)

i can't remember if i added switching between source/destination in my files - it's a moot point anyway, as the filemanager is being rewritten.

and yes, the mouse is not in a separate thread, but then neither are the rest of the control devices (xbmc runs like this: perform framemove() which handles input etc. and starts executing any change in windows etc. then render() and loop. when changing windows/dirs etc. the reading/loading is all done in the main thread, thus the lags. not all that much of an issue i don't think + it would take a major rewrite to get it all working nicer.

as for other devices, keyboard will be added at some stage (i have 3 usb keyboards sitting here waiting for me to have time to play with them) but that's about it.

the xbox api has support for mouse + keyboard built in. some usb drives etc. can be picked up as memory cards (which will then be reformatted as fatx) and used immediately, some can't and will probably never be supported as it requires a driver to be written from scratch.

hope this helps,

cheers,
jonathan

NovaPost
2004-09-11, 19:44
excellent usb mouse support!! think i'll go and play with it, but can't wait for usb keyboard support will be even more useful especially when typing track names to search for!!

:kickass:

wurz
2004-09-20, 23:02
love the mouse support. however, i have purchased an ms wireless optical mouse and the scroll wheel has no effect :-(
my older wired optical mouse works fine. any idea why the wheel wouldn't work on the new mouse? i checked on a pc, and it works as expected.
thanks.

jmarshall
2004-09-20, 23:39
the usb mouse support is just what is present in the xdk - so only basic mouse support is in. unfortanately, this means that some more exotic mice (particularly wireless ones) do not have full functionality i'm afraid.

wurz
2004-09-21, 12:19
ok thx, think i'll stick with the remote, or have a wire dangling accross the carpet. turns out the optimum range on the wireless mouse is 1.8m which sucks anyway!

trevorj
2004-09-22, 05:13
the ms wireless optical mouse i have is the wireless explorer, which has 7 buttons. the mapping for the scroll wheel is different in this mouse, and others as well, which is most likely why it doesn't work. =)