完善了功能

This commit is contained in:
zxj
2025-07-25 10:36:30 +08:00
parent 5b3773d277
commit c89efd2d6f
10 changed files with 134 additions and 86 deletions
@@ -155,11 +155,10 @@ public class ScanGunKeyEventHelper {
* @return
*/
public boolean isScanGunEvent(KeyEvent event) {
if (event == null || event.getDevice() == null) return false;
L.e("event===" + event.getDevice().getName() +
"===Char===" + event.getCharacters() +
"===Action===" + event.getAction());
return event.getDevice().getName().equals(mDeviceName);
}
}