This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5153 - Doom Scrollwheel Patch
Attached to Project:
Rockbox
Opened by Lukas Sabota (punkrockguy318) - Monday, 17 April 2006, 04:40 GMT+2
Last edited by Nils Wallménius (nls) - Friday, 10 November 2006, 20:23 GMT+2
Opened by Lukas Sabota (punkrockguy318) - Monday, 17 April 2006, 04:40 GMT+2
Last edited by Nils Wallménius (nls) - Friday, 10 November 2006, 20:23 GMT+2
|
DetailsThis is a real puzzler. I have written a patch to use the scrollwheel for turning instead of the left/right keys. Then later, the left/right keys could be added for strafing. This patch works perfectly fine in the simulator, but it fails on the ipod 5g. When running on the ipod 5g, scroll events are ignored and no turning is possible.
I've tried many different approaches to fix this problem: I set up a different segment of code to use button_get instead of button_status. Same results! Works fine on simulator, doesn't work on the ipod. I then tried to have the scroll whell send mouse events rather than keyboard ones: Same reults! I did not keep these other attempts, only the cleanest attempt. Could someone please give some insight to this problem? I've talked to others on IRC and we can't seem to figure it out. |
This task depends upon
PROBLEM: This code only detects the first touch of the click wheel. You will turn a bit when you touch it for the first time, but circling around the clickwheel will do nothing. Could someone help me out here?
Do you ever find that it automatically scrolls in Doom? Sometimes I have that problem
checkout http://www.rockbox.org/twiki/bin/view/Main/DocsIndex#For_Developers
and http://www.rockbox.org/twiki/bin/view/Main/SimpleGuideToCompiling
if you don't want to bother compiling yourself look around the 'unsupported builds' forum, some of the builds have the doom patch (mine does)
but the patch really needs to me merged with the Sansa scroll wheel support so it can be committed to SVN.
FS#6945Perhaps someone can look at them and try to get this patch to be committed to the SVN. It's been a few months now since the last comment here...
Please take my suggestions for key mapping also, as mentioned in the comments of
FS#6945, which could in fact be more useful/easy, less laggy (no interpretation of direction/speed, etc, resulting in faster code) and may improve the functionality and customisation of the scrollwheel in general (if simple touch-detection hasn't been implemented to Rockbox yet...)all controls work fine, but when i go to exit the game by going to the menu and selecting quit game the game doesn't exit it just goes right back to the playing screen...
anyone else had this problem w/ this patch or similar patches?
The only problem I had with the patch was the scroll naming conventions were wrong for the sansa e260
the command was DOOMBUTTON_S_LEFT and DOOMBUTTON_S_RIGHT in the i_video.c file when they should have been DOOMBUTTON_SCROLLWHEEL_CC and DOOMBUTTON_SCROLLWHEEL_CW respectively. Once these were replaced it built fine, and exited properly when i selected quit. Kudos to ace 214
for supplying this patch.
I'd love to work on getting this committed to the svn, but I need to find out where the doom menu options are located etc.
i guess my wording confused you Karl
In the doom options you can't change it to turn with the scrollwhell, if I'm not wrong.
Source code is avaliable.
Check that out?
http://idoom.hyarion.com/index.php