You didn’t, so I moved this to a new topic for you.
I’m not sure what you mean by “HDMI voice”. If you mean toggle between passthrough and PCM output then yes you can keymap that with the “audiotoggledigital” action. See the following thread…
If you mean where you select which output device, then maybe, but not so simple. I’ve not tried it but if you search around you should find there is some kind of audio switcher add-on that you can install and that allows you to switch between several different set of audio settings. It requires more than just a couple click install, but apparently it works, I don’t remember the name off hand.
toslink can’t do high res audio, you would need to use HDMI for that. If your amplifier is an AVR with a passthrough option this would be the way to go IMO.