⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 switch-event

📁 GPE内核镜像文件 已在qemu上跑过的
💻
字号:
#!/bin/sh## Called by switchevd with# $1 = /dev/input/eventX - the device that triggered the switch event# $2 = 00000000 - The switch bits status (in hex)if [ -z "$1" -o -z "$2" ]; then    echo "Incorrect usage"    exit 1fiif [ "x$SWITCH_EVENT_ZHINGE" = "x1" -a -x /etc/zaurusd/scripts/zaurus-hinge ]; then    /etc/zaurusd/scripts/zaurus-hinge $(( 0x$2 & 3 ))fiif [ "x$SWITCH_EVENT_ZMIXER" = "x1" -a -x /etc/zaurusd/scripts/zaurus-mixer ]; then    /etc/zaurusd/scripts/zaurus-mixer $(( (0x$2 & 0x4) >> 2 ))fi

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -