KEY CONFIGURATION METHOD, KEY OPERATION METHOD, DEVICE AND ELECTRONIC APPARATUS

A key configuration method, a key operation method, a device and an electronic apparatus. The keys are in one-to-one correspondence with the pins of a control component and connected thereto. The key configuration method comprises: determining pin information corresponding to each key (101); establi...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: YANG, Kun, YIN, Zuotian
Format: Patent
Sprache:chi ; eng ; fre
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:A key configuration method, a key operation method, a device and an electronic apparatus. The keys are in one-to-one correspondence with the pins of a control component and connected thereto. The key configuration method comprises: determining pin information corresponding to each key (101); establishing a correspondence relationship between different trigger states of each key and different level variations of a pin corresponding to the different trigger states of each key (102); determining a key performance function respectively corresponding to the different trigger states of each key (103); and generating a key execution program on the basis of the pin information corresponding to each key and the key performance function respectively corresponding to the different trigger states (104). The key operation method comprises: detecting a current level variation of a pin corresponding to any one of the keys (201); determining a current trigger state (202); searching for a key performance function correspondin