It's done through lua, I added a couple c++ functions that "select/start/pick the currently selected wheelitem". They're not wheel functions, they're the screen's. So i had to add one for the NetRoom screen, the NetSelectMusic and the SelectMusic screens. I added a mouse click input that checks if it's on the wheel item(because of the way Til Death's wheel is i can know this using just the X coordinate) and then checks if it's in the middle one or how far from it. If it's the middle one it calls the above mentioned c++ function and otherwise moves the wheel the appropiate quantity in the correct direction.
I also made a chatbox scrollbar that tells you how big the chat actually is and where you are.
It's done through lua, I added a couple c++ functions that "select/start/pick the currently selected wheelitem". They're not wheel functions, they're the screen's. So i had to add one for the NetRoom screen, the NetSelectMusic and the SelectMusic screens. I added a mouse click input that checks if it's on the wheel item(because of the way Til Death's wheel is i can know this using just the X coordinate) and then checks if it's in the middle one or how far from it. If it's the middle one it calls the above mentioned c++ function and otherwise moves the wheel the appropiate quantity in the correct direction.
I also made a chatbox scrollbar that tells you how big the chat actually is and where you are.