It would be nice if you could avoid adding anything PPSSPP-specific here. For example, you could make SHORTCUT_EXTRA_KEY be returned from a function which you then override in PpssppActivitity to return "org.ppsspp.ppsspp.Shortcuts".