I'm not sure if this is the best way of going about this because I don't fully understand the layers of indirection that are utilized in these key mappings.