FaceRig

FaceRig

View Stats:
Packetdancer 1 Jun, 2020 @ 10:32pm
Separate out Hooked Hotkeys
Right now, hotkeys are an all-or-nothing prospect; you have to make EVERYTHING hooked globally -- which makes it difficult to use other programs, or forces you to clear a lot of keys out -- or you have to always alt-tab into the FaceRig window in order to actually use a key.

I don't generally care whether I have to alt-tab into the thing to use the save/load slots for configurations, but alt-tabbing in to change the expression isn't ideal. Conversely, if I want the global hotkeys for changing expression, I either have to find hotkeys that other programs aren't using in order to do the save/load slots or anything else I want to be able to do *in Facerig itself*, or I have to constantly switch around the keybindings -- clear them out when I'm doing stuff, restore them afterwards.

It would be great to be able to set globally hooked hotkeys for specific animations, but to have other keys only functional within the application.

(I tried to get around this by writing a program that would inject keystrokes into the FaceRig window while it was in the background, but alas, that does not seem to work. So instead... please add this feature.)
< >
Showing 1-7 of 7 comments
mydetour 2 Jun, 2020 @ 12:37am 
- Let us bind F13 - F24 (this is used by the elgato stream deck and allows us to have bindings that wont interfere with games we are playing)

- For some reason if you bind any of the F1 - F12 keys they don't work when hooked even with modifiers.

- It would be helpful the be able to HOOK and disable HOOK for each individual binding.

I will continue testings but if we could bind F13 - F24 and use them as hooked keys that would solve A WHOLE LOT OF HEADACHE.
Packetdancer 2 Jun, 2020 @ 2:55am 
That would honestly work pretty well also, yes. There *are* standard Win32 keycodes for F13-F24. No one ever bothers to actually process them, that I've seen, but VK_F13 et al are real things.

The Stream Deck was what I was toying with, in fact. If I can figure out a way to inject the keys into Facerig, I'll just write a Stream Deck addon... but Facerig does not seem to want to take in targeted keys. Alas!
Packetdancer 2 Jun, 2020 @ 3:11am 
Honestly, adding an API such that we can write external programs to fire off animations -- or manually adjust the poses -- would work too. I'd 100% just write a Stream Deck addon to drive FaceRig at that point.
Loumi 2 Jun, 2020 @ 9:31am 
yeah, would be usefull if they had them on keys that wouldnt normally be constantly used for any functions.
mydetour 2 Jun, 2020 @ 9:38am 
Yes, it would be great! It is so strange what can hook and what can't. clt P hooks but alt P does not. Really been a headache to find just 5 keys I can use that won't interfere with the games I want to play. I have spent hours and still working on it, @packerdancer have you had any luck? what were you trying to inject with? I was messing around with autohot key
mydetour 2 Jun, 2020 @ 12:58pm 
Also when you click something to make a binding blank, save and then reopen the program all the ones that don't have binding and auto re-binded to default. So every time I just want to use 5 bindings while in game, I have to go unlink everything again... what a nightmare... please fix this
Packetdancer 2 Jun, 2020 @ 1:33pm 
Originally posted by mydetour:
@packerdancer have you had any luck? what were you trying to inject with? I was messing around with autohot key

I tried checking several things, and discovered it's using DirectInput directly for inputs. Proxying DirectInput isn't terribly hard, so probably this coming weekend I'll try to write myself a nice little DirectInput proxy that can accept external messages (such as from Stream Deck) and generate DInput events as appropriate. The only caveat I'm concerned about is if the program suspends the input loop when in the background; if that's the case, I'm outta ideas entirely.

It seems like waaaaay more effort than should be required, but. Admittedly, the bonus is that if it works, no need to muck about with the input hotkey settings.
< >
Showing 1-7 of 7 comments
Per page: 1530 50