Axis Constraint Key Binding

I’d like to bind the axis constraint key for Grab, Rotate, Scale to something other than X, Y, and Z. Any ideas where to look for modifying this? I’m afraid that this may be in native code, rather in Python script, but I could be wrong. If it’s not immediately available, I’ll probably write up my own script, but I’d still need to learn how to accept secondary key strokes based on the active mode, I guess, modal? state.