Main > Lightguns

IR-GUN4ALL - Enhanced Arduino-powered DIY 4-Point IR Lightgun System

<< < (9/10) > >>

ThatOneSeong:

--- Quote from: Matuca1849 on April 26, 2024, 08:16:14 pm ---So, I'm having an issue where it doesn't seem to be working properly unless I open the GUI then select the port, unselect it, then reselect it. It pops up with an error about the data not being received in time but it will operate fine until I close the error box. I'm on the latest version. Any ideas?

--- End quote ---
You would be the first to run into such an issue without the app having crashed. Is it the latest versions of both halves? OS/version?

Matuca1849:

--- Quote from: ThatOneSeong on April 26, 2024, 08:29:26 pm ---
--- Quote from: Matuca1849 on April 26, 2024, 08:16:14 pm ---So, I'm having an issue where it doesn't seem to be working properly unless I open the GUI then select the port, unselect it, then reselect it. It pops up with an error about the data not being received in time but it will operate fine until I close the error box. I'm on the latest version. Any ideas?

--- End quote ---
You would be the first to run into such an issue without the app having crashed. Is it the latest versions of both halves? OS/version?

--- End quote ---
I believe so but I will double check to be sure. I did make an edit to my previous post about not having the trigger and pump wired through the pico board, so I think that may have something to do with it as well. I'll get those wired up tomorrow and report back. They are mapped to the right and left mouse button through a third party app.

ThatOneSeong:

--- Quote from: Matuca1849 on April 26, 2024, 09:08:50 pm ---
--- Quote from: ThatOneSeong on April 26, 2024, 08:29:26 pm ---
--- Quote from: Matuca1849 on April 26, 2024, 08:16:14 pm ---So, I'm having an issue where it doesn't seem to be working properly unless I open the GUI then select the port, unselect it, then reselect it. It pops up with an error about the data not being received in time but it will operate fine until I close the error box. I'm on the latest version. Any ideas?

--- End quote ---
You would be the first to run into such an issue without the app having crashed. Is it the latest versions of both halves? OS/version?

--- End quote ---
I believe so but I will double check to be sure. I did make an edit to my previous post about not having the trigger and pump wired through the pico board, so I think that may have something to do with it as well. I'll get those wired up tomorrow and report back. They are mapped to the right and left mouse button through a third party app.

--- End quote ---
I'm sorry, I don't think I understand--what exactly is the context that you're using this in? What gun is this being plugged into?

I'm a bit confused by it all. That said, I don't recall buttons not being hooked up to be the cause?

Matuca1849:

--- Quote from: ThatOneSeong on April 26, 2024, 09:13:07 pm ---
--- Quote from: Matuca1849 on April 26, 2024, 09:08:50 pm ---
--- Quote from: ThatOneSeong on April 26, 2024, 08:29:26 pm ---
--- Quote from: Matuca1849 on April 26, 2024, 08:16:14 pm ---So, I'm having an issue where it doesn't seem to be working properly unless I open the GUI then select the port, unselect it, then reselect it. It pops up with an error about the data not being received in time but it will operate fine until I close the error box. I'm on the latest version. Any ideas?

--- End quote ---
You would be the first to run into such an issue without the app having crashed. Is it the latest versions of both halves? OS/version?

--- End quote ---
I believe so but I will double check to be sure. I did make an edit to my previous post about not having the trigger and pump wired through the pico board, so I think that may have something to do with it as well. I'll get those wired up tomorrow and report back. They are mapped to the right and left mouse button through a third party app.

--- End quote ---
I'm sorry, I don't think I understand--what exactly is the context that you're using this in? What gun is this being plugged into?

I'm a bit confused by it all. That said, I don't recall buttons not being hooked up to be the cause?

--- End quote ---

Sorry, I should have given much more context.

So I have the xbox 360 version of the top shot elite rifle which I am adding the IR camera via a pi pico2040 so I can use it for shooters in various emulators on my windows 10 PC. I'm currently using RE:Umbrella chronicles on the Dolphin emulator for all me testing. Since I can't use 2 seperate input devices as a single controller, I'm using a program that maps the xbox buttons to the keyboard and was using the IR as basically just the mouse pointer.

The only thing wired up to to the pico currently is the IR camera and none of the other buttons.

I believe this may be where the issue is as when I run the first time config on the GUI it is asking to use the trigger button to initiate it. So since the trigger isn't wired up through the pico and instead mapped to the mouse as an xbox button, I think it's causing the issue.

ThatOneSeong:

--- Quote from: Matuca1849 on April 26, 2024, 09:36:00 pm ---
--- Quote from: ThatOneSeong on April 26, 2024, 09:13:07 pm ---
--- Quote from: Matuca1849 on April 26, 2024, 09:08:50 pm ---
--- Quote from: ThatOneSeong on April 26, 2024, 08:29:26 pm ---
--- Quote from: Matuca1849 on April 26, 2024, 08:16:14 pm ---So, I'm having an issue where it doesn't seem to be working properly unless I open the GUI then select the port, unselect it, then reselect it. It pops up with an error about the data not being received in time but it will operate fine until I close the error box. I'm on the latest version. Any ideas?

--- End quote ---
You would be the first to run into such an issue without the app having crashed. Is it the latest versions of both halves? OS/version?

--- End quote ---
I believe so but I will double check to be sure. I did make an edit to my previous post about not having the trigger and pump wired through the pico board, so I think that may have something to do with it as well. I'll get those wired up tomorrow and report back. They are mapped to the right and left mouse button through a third party app.

--- End quote ---
I'm sorry, I don't think I understand--what exactly is the context that you're using this in? What gun is this being plugged into?

I'm a bit confused by it all. That said, I don't recall buttons not being hooked up to be the cause?

--- End quote ---

Sorry, I should have given much more context.

So I have the xbox 360 version of the top shot elite rifle which I am adding the IR camera via a pi pico2040 so I can use it for shooters in various emulators on my windows 10 PC. I'm currently using RE:Umbrella chronicles on the Dolphin emulator for all me testing. Since I can't use 2 seperate input devices as a single controller, I'm using a program that maps the xbox buttons to the keyboard and was using the IR as basically just the mouse pointer.

The only thing wired up to to the pico currently is the IR camera and none of the other buttons.

I believe this may be where the issue is as when I run the first time config on the GUI it is asking to use the trigger button to initiate it. So since the trigger isn't wired up through the pico and instead mapped to the mouse as an xbox button, I think it's causing the issue.

--- End quote ---
OOooooooooooh! I see!

That's quite the setup you got going on there! Huh.

Yeah, you kind of need a trigger to actually do much of anything, unfortunately! It is made to be used with all the controller's inputs hooked up to it, not in conjunction with another device. The issue here is that the app sends a docking request to the gun, and the gun sends its system information back to the app before syncing all the rest of its settings that gets reflected in the UI (it does this several times, in fact!). The problem here then is that when the device first boots without any saved preferences, it sends a message through the serial port that says "Preferences data is empty! Pull the trigger to start your first calibration!", which is a message intended for debugging but wasn't something I noticed to be a problem in production. It looks like something fucky wucky was going on that caused an issue.

You said that you got a "data wasn't received in time" error, but the exact wording of the error popup means a lot - since you said that everything beneath the error popup "was fine until I close the error box", then it happened after you could see a board picture, right?

If the worry is having to use only one type of input device, you could try and simply use it in Gamepad output mode - that way, all inputs (and the camera) goes through the gamepad output, rather than through the keyboard/mouse devices. That said, from what I've tried at least on Linux, Dolphin has a bit of trouble differentiating similarly-named analog axis (so Axis 0/1 for example are shared between the Mouse and Gamepad, for some bizarre reason). It might be an issue worth considering sending over to them, since I haven't had such issues with any other emulator/app like that.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version