split out a function for getting an observable of the current key configuration