May 16, 2018, 01:58 PM | |
Phantom controller input
Hi folks. Some people have reported receiving constant input from controllers or controller-like devices that do not seem to correspond to things they are intentionally doing, e.g. their mouse cursor constantly moves to the left, or their rabbit tries to move down and right. I have no way of replicating any of these problems locally, because I don't own the same devices that you do, but what I can do is give you this:
plus_controller_diagnostics.zip That's the latest release of JJ2+, minimally modified to constantly show all controller input information. (Only while ingame--if your phantom controller makes it impossible for you to navigate the menu system, load JJ2 directly into a level by command line/drag+drop.) If you experience such phantom input, please a) explain what your specific problem is, b) post a screenshot of the various numbers in their base state (i.e. when you are not intentionally doing anything), and c) report how the numbers are affected by any related experiments you choose to do. Thanks! |
Jun 17, 2018, 03:36 PM | |
![]()
You know, I'm using the latest WINE stable release (3.9) to run Jazz Jackrabbit 2 and I'm have some really bad problems with my Sanmos TWIN SHOCK gamepad.
One one the symptoms just happens to be "mouse pointer constantly moving to the left", so I figured that I'd report the problem here. Another problem is that the player always looks up unless I move the stick into the up direction. From what I could gather, it seems that the stick only returns integers, which explains why the directional button works erratically; and dwPOV return numbers from 0 to 31500, being 65535 when nothing is pressed. This is what is being reported when nothing is pressed: https://i.imgur.com/yQ3FDXm.png This is what reports when the Button 2 is being pressed: https://i.imgur.com/rkwBTdi.png And this is when I move the left stick to it's left-up position and the right stick to it's right-down position: https://i.imgur.com/jyrFEoq.png Though I might report this to the WINE team as well since in WINE's Joystick configuration panel, the 1, 2, 3 and 4 buttons flicker when holding them pressed, instead of just staying pressed and I recieve this message in the terminal: 0029:err:hid_report: process_hid_report Device reports coming in too fast, last report not read yet! And here's the video of WINE's control panel bug: https://youtu.be/3jqli888hRs |
Jun 22, 2018, 06:19 PM | |
Report from Genstar, who I guess is having J2O account problems:
Combination of WINE and TWINSHOCK controller "moves the mouse cursor to the left in-game and some buttons work too fast on menus, directional keys don't even work properly and only the jump button works" "In control joy.cpl, the 1,2,3 and 4 buttons flicker when pressed instead of just staying pressed... Also got the "device reporting too fast" error on the terminal when running WINE control joy.cpl" Nothing pressed: ![]() Button 2 pressed: ![]() "when left stick is up-left and right stick is down-right": ![]() "dwPOV shows from 0 to 31500, being 65535 when nothing is being pressed on the POV" |
Aug 17, 2018, 04:21 PM | |
So, whenever I select a level from Home Cooked, and only from Home Cooked, the controller constantly registers movement right and down (EDIT: I have tested this further, and found this behaviour if I use the command line loading, but only for A Generic SP Episode II. My own custom levels seem to not be affected by this. Perhaps it's memory usage related?). This includes it making me stomp whenever I'm in the air, for instance if I've jumped. It also doesn't let me manually move down or right at all.
TSF level 1, working normally: ![]() HH '17 loaded from its custom J2E episode, working normally: ![]() A custom level I was working on a few years ago, loaded from a command line argument, working normally: ![]() Same custom level, not working normally; stuck moving down and right: ![]() Different custom level, same problem: ![]() |
Aug 29, 2018, 05:55 AM | |
![]()
I can confirm that such incidence happens with Jazz Jackrabbit 2 1.23, JJ2+ 5.6 via Lutris (Wine-Staging 3.10 i386) on Linux Mint 19 (x64) Mate with Logitech F310 Xinput/DirectInput. As the game is started with Jazz2.exe -menu -windowed -nolog -nospy executable and arguments, mouse cursor immediately moves left even in OS level. When a map is started, the character looks up as it is shown in previous posts. I found related lines in the readme of the latest release of JJ2+:
"Improved support for DirectInput/XInput (read: XBox-style) controllers: JJ2+ should now ignore corrupted controller data instead of seeming to constantly press the left and up keys." https://docs.jj2.plus/ It looks like some Windows and WINE setups fail to "gnore corrupted controller data." When -nojoy argument is added, problem disappears but as it disables controller support, it's a bit pointless. Alternatively, Linux users can emulate keyboard buttons on controller with AntiMicro but that would be a dirty solution to be honest. Here are the Lutris page and code of the installer script: https://lutris.net/games/jazz-jackrabbit-2/ https://lutris.net/games/install/2782/view |
Aug 29, 2018, 09:48 AM | |
Okay. Did you get any data from the plus_controller_diagnostics.zip I linked prominently in the opening post? Also, does your character constantly look up in regular JJ2 (without the JJ2+ patch applied) as well, or is your problem unique to JJ2+ v5.6?
|
Sep 3, 2018, 11:45 AM | ||
Quote:
Sorry for late reply. Unfortunately I am not competent enough to make plus_controller_diagnostics.zip or regular v5.6 version of JJ2+ run with WINE manually. Lutris script that automates installation makes use of additional tools some of are AutoHotkey, Helper. Merging and overwriting Lutris installation with your diagnostics tool didn't provide the additional data shown in previous posts. As I installed JJ2 via WINE manually, JJ2 1.23 without JJ2+ doesn't have phantom controller issues that I experienced with JJ2+ v5.6. Here are my findings; JJ2 1.23 without JJ2+ (controller is active): - Characters do not constantly look up. - Controller buttons work without a problem, they can also be remapped. - No mouse cursor capture and/or shifting issue occurs. JJ2 1.23 with JJ2+ v5.6 (controller is active): - Characters do look up constantly. - Most of controller buttons do not work. If up button is pressed, character stops looking up, but when you stop pressing, it returns to looking up. Jump, fire, pause, menu buttons work but down, left, right buttons do not work. Buttons cannot be remapped since up button is being constantly pressed. Up button works in menus but other direction keys do not work. - Mouse cursor moves left in OS level if it is on the window of JJ2. Even if the cursor leaves JJ2 window, it keeps moving to the left edge of the desktop. |
Mar 31, 2019, 05:53 AM | |
![]()
As March 2019, phantom controller input as well as moving mouse cursor issues with JJ2+ v5.6 still exist on Linux. By curiosity, I manually installed the game with WINE, applied 1.23 patch and JJ2+ v5.6 to bypass AutoHotkey, Helper files that Lutris script uses; the bugs are still there.
Today, I found plus.zip version of JJ2+ v5.5 on archive.org; edited Lutris script to replaced JJ2+ v5.6 URL with v5.5 URL, installed the game via edited Lutris script; lo and behold... And it worked without phantom controller input and moving mouse cursor issues! https://web.archive.org/web/20171223...2plus/plus.zip https://lutris.net/games/install/2782/view |
Apr 10, 2019, 11:22 AM | |
(You don't really need archive.org, by the way, we link to all the older versions in the first post of the general JJ2+ thread.)
|
Jul 16, 2019, 01:15 AM | |
![]()
Hello,
Here is my analysis of what happens with my gamepad, using the debugging JJ2+ version given by Violet CLM. I’m playing TSF on Windows 7. I’ve got a very simple gamepad which is called ‘P220’ in other pieces of software: ![]() You’ve got four arrows on the left with button 7 above, and six buttons on the right with button 8 above. In the middle you’ve got a scale of five steps 0–25–50–75–100 and you can move on it with + and − buttons to light up the LEDs (I’ve never really understood its meaning). My gamepad works perfectly with JJ2 vanilla. I’ve configured the controls like this: ![]() Trying to change these controls does not work with JJ2+, i.e. I can press Enter or a button of my gamepad to ask for changing the control, but then pressing a button or an arrow has no effect and I must press Escape (or button 7) to get back. Here is what happens when I start the game: ![]() Then using the buttons changes the values in the following ways.
Now regarding the effects in the game:
Effects in the menu:
So here is the straightforward analysis. Violet CLM, do you need more, i.e. do you want to see what happens if I change the controls from JJ2 vanilla and I get back to JJ2+? Or should I test something else with my gamepad? Thanks in advance. Last edited by French; Jul 16, 2019 at 01:29 AM. Reason: Add JJ2 version and OS version |
![]() |
«
Previous Thread
|
Next Thread
»
Thread Tools | |
|
|
All times are GMT -8. The time now is 01:08 AM.
Jazz2Online © 1999-INFINITY (Site Credits). Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats. Powered by vBulletin® Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Original site design by Ovi Demetrian. DrJones is the puppet master. Eat your lima beans, Johnny.