@ran_qwq 其实这是因为别人精通何同学代码风格
void powerCon(u8 whichKey, u8 Force) //1~68:调整任意对应按键力度 0:调整所有按键的力度
{
if (whichKey)
forceCon[whichKey - 1] = Force;
else
for (u8 i = 0; i < 68; i++)
forceCon[i] = Force;
Serial5.write(0xfe);
Serial5.write(forceCon, 68);
}
void littleFingerForce(void) //调整小拇指控制区域的力度
{
powerCon(1 | 2 | 6 | 7 | 11 | 52 | 57 | 58 | 65, 10);
}