Abstracted input codes for better crosslibrary compatibility