d_key_events_mapped = {
'Start Case': 's',
'Alarm': 'a',
'Checkout': 'c',
'Endcase': 'e',
'Shutdown': 'F12',
'Procedure': 'p',
'Audio': 's',
'Trends': 't',
'Screen setup': 'u',
'System setup': 'w',
'Spirometry': 'y',
'Auto': 'y',
'Vent': 'v',
'TV': 'F2'
}
Create one dic{} for Action presskey function input was given to serial port.then if i press key 'a' in keyboard that shows alarm 我想要这种类型的程序?给我的解决方案