univrsal / input-overlay

Show keyboard, gamepad and mouse input on stream
GNU General Public License v2.0
2.62k stars 235 forks source link

io-cct Tool seems to be buggy #358

Closed CatWithaGun0719 closed 11 months ago

CatWithaGun0719 commented 11 months ago

In the io-cct used to customize the input overlay, the cropping of the keys is slightly inaccurate. When pressing down on the key, the image it changes to is poorly cropped.

Steps to reproduce the behavior: This happened specifically when I was trying to add the "C" key to my input overlay. The initial process went as intended, but I noticed that when I pressed on the key the highlight would be poorly cropped, the key would move up and part of a lower key would appear.

Originally, this shouldn't happen, the image should stay in the same place and should only appear as if the original key being lit up.

Screenshots: 2023-07-22 (4) 2023-07-22 (13)

univrsal commented 11 months ago

Seems like you didn't crop the element correctly. Can you export the preset and upload it here?

CatWithaGun0719 commented 11 months ago

Yeah, I can do that. And also; the I dont have control over the element, I only have control over the cropping of the first one before the key is being pressed.

On Sat, Jul 22, 2023, 1:43 PM Alex @.***> wrote:

Seems like you didn't crop the element correctly. Can you export the preset and upload it here?

— Reply to this email directly, view it on GitHub https://github.com/univrsal/input-overlay/issues/358#issuecomment-1646668198, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBOHD3QLGWK4J3OXYBMGP7LXRQ3PFANCNFSM6AAAAAA2UATKMU . You are receiving this because you authored the thread.Message ID: @.***>

CatWithaGun0719 commented 11 months ago

The damn thing didn't show up when I sent it via email, just look at what I sent in gmail, it SHOULD be there.

univrsal commented 11 months ago

I think you have to upload it here on github

CatWithaGun0719 commented 11 months ago

I tried, it says it doesn't support the file format, what should I change it to?

univrsal commented 11 months ago

.txt should work

CatWithaGun0719 commented 11 months ago

Here u go

wasd-full.txt

univrsal commented 11 months ago

The only key that's not working correctly in that preset is alt, which isn't selected correctly: image correct: image

CatWithaGun0719 commented 11 months ago

Wait, so was it my error or a code? If you're saying that it was my problem I didn't select it correctly, then that's the problem I had! It resets itself after I crop it.

  1. The cropping (which you showed); When I fixed it myself it seemed fine. But, when I press down and give it an input, the poorly cropped image appears, as I showed in a screenshot when I first made this issue.
  2. The cropping you said that was wrong seems to be what was happening to me. At first, I thought it was because I selected it wrong, but then I noticed that it would actually just reset what I had originally selected for the cropping, and it wasn't me being dumb.
CatWithaGun0719 commented 11 months ago

And by "reset", I literally mean it would adjust the area I selected to an area that looks similar to what you had in your first picture.

univrsal commented 11 months ago

What browser are you using?

CatWithaGun0719 commented 11 months ago

I'm using Google.

univrsal commented 11 months ago

I can't reproduce any of the issues with chrome, so I can't really help you with this.

CatWithaGun0719 commented 11 months ago

The issue didn't occur after I exported it, it happened even while I was in io-cct. Does the browser type really have that much of an effect? If you want, I can make a video so you can see what's happening...

univrsal commented 11 months ago

you can try

CatWithaGun0719 commented 11 months ago

overlaybug.mov https://drive.google.com/file/d/1Wjx64KJ7lEOdX9Pcn1YCtmzRdhXWTBo8/view?usp=drive_web

On Fri, Jul 28, 2023 at 11:19 AM Alex @.***> wrote:

you can try

— Reply to this email directly, view it on GitHub https://github.com/univrsal/input-overlay/issues/358#issuecomment-1656140190, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBOHD3RHJ5FNQKSWJU4Z5OTXSP7CHANCNFSM6AAAAAA2UATKMU . You are receiving this because you commented.Message ID: @.***>

univrsal commented 11 months ago

You are not selecting the button correctly. You can't just eyeball it, it has to be exactly selected or the alignment won't work.

This is wrong: image

This is right:

image