To show how to use the SW defined button (driver mode) on FWA-1212VC
There is a SW defined button (also known as “User Define Button”) on the back panel of FWA-1212VC.
The button supports some different behaviors (tick, double click, or long press) ,and can generate event to x86 system. Customer’s Application can do specific things depending on customer’s design.
The button supports two work modes: Sleep Button mode and driver mode. For more details, please refer to FWA-1212VC software guide.
For driver mode, there are two points need to be highlighted:
1. The config file is in the /etc/swbtnd.cfg path, named config.
The path of sample codes defined in the config file needs to be modified based on the actual path.
2. The events file is stored in the directory of /root. Please check button event in this file.
Please sign in to leave a comment.