^ There probably is, but I don't know the specifics of the model year changes to it.
My '14 workshop manual lists the following, BUT it states it is a capacitive switch yet it sure seems more like momentary mechanical to me.
What might work is a momentary (or latching, IDK) switch between pin 4 on the connector, and ground. I don't know if the canbus needs to be involved, or even if this will work without damaging anything since the wiring diagram just shows the whole hazard switch module, not how it works electrically besides the description below, and again this is for a 2014.
Hazard Lamps
The BCM sends a voltage signal to the FCIM to monitor for a hazard lamp function request. When the hazard flasher switch (a capacitive touch switch) is touched, the voltage signal is routed to ground, indicating a request to activate or deactivate the hazard lamp function.
When the BCM receives a request for the hazard lamps, the BCM supplies on/off voltage to all the turn lamps.
The timed on/off cycle for the hazard lamps is approximately 80 times per minute regardless of bulb outage.