add SKMappingStore delegate and fix input with modifier flags