# Bcc: control@ so that nobody accidentally sends replies there. package powermanga found 561670 0.92-1 quit
Markus Koschany <a...@gambaru.de> writes: > In this case more information means that it would be interesting to know > what would happen if you changed the variables to a different value but > I understand that it's difficult to test without a gamepad. Found it! Testing with input-events from input-utils 1.0-1, I get: bustype : BUS_USB vendor : 0x46d product : 0xc218 version : 272 name : "Logitech Logitech RumblePad 2 US" phys : "usb-0000:00:1d.0-1.5/input0" uniq : "" bits ev : EV_SYN EV_KEY EV_ABS EV_MSC EV_FF The pad has the following input sensors: * button 1: EV_MSC MSC_SCAN 589825 and EV_KEY BTN_TRIGGER (0x120) * button 2: EV_MSC MSC_SCAN 589826 and EV_KEY BTN_THUMB (0x121) * button 3: EV_MSC MSC_SCAN 589827 and EV_KEY BTN_THUMB2 (0x122) * button 4: EV_MSC MSC_SCAN 589828 and EV_KEY BTN_TOP (0x123) * button 5: EV_MSC MSC_SCAN 589829 and EV_KEY BTN_TOP2 (0x124) * button 6: EV_MSC MSC_SCAN 589830 and EV_KEY BTN_PINKIE (0x125) * button 7: EV_MSC MSC_SCAN 589831 and EV_KEY BTN_BASE (0x126) * button 8: EV_MSC MSC_SCAN 589832 and EV_KEY BTN_BASE2 (0x127) * button 9: EV_MSC MSC_SCAN 589833 and EV_KEY BTN_BASE3 (0x128) * button 10: EV_MSC MSC_SCAN 589834 and EV_KEY BTN_BASE4 (0x129) * left stick direction: EV_ABS ABS_X and ABS_Y, both ranging from 0 to 255 * left stick button: EV_MSC MSC_SCAN 589835 and EV_KEY BTN_BASE5 (0x12a) * right stick direction: EV_ABS ABS_Z and ABS_RZ, both ranging from 0 to 255 * right stick button: EV_MSC MSC_SCAN 589836 and EV_KEY BTN_BASE6 (0x12b) * D-pad direction: EV_ABS ABS_HAT0X and ABS_HAT0Y, both ranging from -1 to +1 There are also two buttons that do not generate input events: * The MODE toggle button swaps the left stick with the D-pad. In that mode, the left stick generates ABS_HAT0X and ABS_HAT0Y, and the D-pad generates ABS_X and ABS_Y with values in the set {1, 128, 254}.) * The VIBRATION button turns the vibrator on for a moment. I suppose the button may also enable or disable programmatic control of the vibrator, but I haven't tested that. The bug with powermanga 0.90-dfsg-2 applies specifically to the ABS_HAT0X and ABS_HAT0Y axes, which the D-pad controls by default; thus the title of the bug. The ABS_X and ABS_Y axes also control the ship but the bug does not affect them. So if you're testing with a controller that does not have the hat axes, then I guess you won't see the bug. The Debian powermanga 0.92-1 amd64 binary requires libc6 2.14, which I don't have on Wheezy, so I built a local package from the 0.92-1 sources. I tested that the resulting binary has the bug.
pgpmG0z6hUHN3.pgp
Description: PGP signature