kaiakairos / PNGTuber-Plus

PngTuber Plus source code
The Unlicense
52 stars 13 forks source link

Costume Hotkeys Don't Register #7

Open C-Bowen-Jr opened 5 months ago

C-Bowen-Jr commented 5 months ago

My setup:

Issue: Pressing any number key either top row or keypad doesn't change costumes. Attempting to override the defaults just indefinitely says "Awaiting input...".

Troubleshooting notes: I made sure to follow tutorials on how costumes work. Select a part, blue number means it is visible in that costume.

I used other keyboard actions without issue. ie ESC to open directory folder.

In trying to set new a new input if numbers didn't work, I attempted every key. F keys, numbers, letters, characters, etc.

I even tried manually editing settings.pngtp. I tried lower case letters, and KEY_X.

I saw others had this issue on reddit. One solution was to downgrade to the previous version. I looked at the diff between 1.4.2 and 1.4.5 in /main_scene/main.gd, but couldn't figure out what change would cause this. I also haven't learned Godot yet, so who knows.

broken1nu commented 4 months ago

I have the same issue. Currently, my only solution to fix this input hotkey shortcut bug is to open the software's appdata directory by pressing "esc" and delete all of its contents. oh remember to cope the model inside it first then delete.

C-Bowen-Jr commented 3 months ago

Not likely a solution for merging into the code base, but I came up with a solution. PTP-Hotkeyer

For those using PTP on Linux for things like vlogging, video essay, commentary: Changes to main.gd so long as you have the program focused, will work.

For those using it for games or drawling: A companion program that gets key presses from X11 and sends a local TCP message to PNGTuber+ of the key pressed. Not a perfect solution, as it has some limitations, but I'm dogfooding it.