Add scan codes for keys and implement their functionality in slimdasm.