2005-10-06, 07:05
im trying to pull a small mod in xbmc all i want is to send a small signal trough the rumble controller whenever i select a program or music, so i can know what file is being played so i can send a different rumble signal in each, is just a small project to learn how to code in xdk and xbmc (and so far ive learned a lot!
unfortunately im stuck, i have 2 problems
1.-i have created a new function for the class controller that sends the signal , but i dont know where to use it. (cguiwindowprograms seems like the right class but i dont know where)
2.-i have no idea where to get the list number for the icon im seing in the screen (called button in the code)
any help on this will be apreciated.
if i can get this to work, i will get to the second step of the project, to call a small video preview from the directory im reading (for videos and programs) and play it on the background, while selecting the icon (yes i know thats more difficult so im saving that for later when im more experienced)
thanks!
unfortunately im stuck, i have 2 problems
1.-i have created a new function for the class controller that sends the signal , but i dont know where to use it. (cguiwindowprograms seems like the right class but i dont know where)
2.-i have no idea where to get the list number for the icon im seing in the screen (called button in the code)
any help on this will be apreciated.
if i can get this to work, i will get to the second step of the project, to call a small video preview from the directory im reading (for videos and programs) and play it on the background, while selecting the icon (yes i know thats more difficult so im saving that for later when im more experienced)
thanks!