This commit is contained in:
2022-07-19 17:50:10 -07:00
parent 674b639850
commit a0a4684c95
6 changed files with 5451 additions and 6 deletions

View File

@@ -3,6 +3,9 @@ package adb
import (
"context"
"log"
"regexp"
"strconv"
"strings"
"time"
)
@@ -95,7 +98,7 @@ func (t TapSequence) GetLength() time.Duration {
for _, x := range t.Events {
duration += x.Length()
}
return duration
return duration * 110 / 100
}
func (d Device) ReplayTapSequence(ctx context.Context, t TapSequence) error {
@@ -108,15 +111,73 @@ func (d Device) ReplayTapSequence(ctx context.Context, t TapSequence) error {
return nil
}
//CaptureSequence allows you to capture and replay screen taps and swipes.
//
// ctx, cancelFunc := context.WithCancel(context.TODO())
//
// go dev.CaptureSequence(ctx)
// time.Sleep(time.Second * 30)
// cancelFunc()
func (d Device) CaptureSequence(ctx context.Context) (t TapSequence, err error) {
// this command will never finish, and always returns error code 130 if successful
stdout, _, errCode, err := execute(ctx, []string{"shell", "getevent", "-tl"})
if errCode != 130 {
log.Printf("Expected error code 130, but got \n", errCode)
log.Printf("Expected error code 130, but got %d\n", errCode)
}
if stdout == "" {
return TapSequence{}, ErrStdoutEmpty
}
t.Events = parseGetEvent(stdout)
return TapSequence{}, nil
}
type Event struct {
TimeStamp time.Time
DevicePath string
Type string
Key string
Value string
}
func parseGetEvent(input string) (events []Input) {
lines := strings.Split(input, "\n")
lines = trimDeviceDescriptors(lines)
// Trim off the beginning with device descriptors
return
}
func parseInputToEvent(input []string) []Event {
var e []Event
r := regexp.MustCompile(`\[\W*(\d+\.\d+)]`)
for _, line := range input {
var l Event
timeStr := r.FindStringSubmatch(line)
if len(timeStr) != 2 {
continue
}
f, err := strconv.ParseFloat(timeStr[1], 32)
if err != nil {
continue
}
msec := int64(f * 1000)
l.TimeStamp = time.UnixMilli(msec)
e = append(e, l)
}
// fmt.Println(e[0].TimeStamp.Sub(e[len(e)-1].TimeStamp))
return e
}
func trimDeviceDescriptors(input []string) []string {
start := 0
for i, line := range input {
if strings.Contains(line, "DOWN") {
start = i
break
}
}
for i := range input {
input[i] = strings.TrimSpace(input[i])
}
return input[start:]
}

65
capture_test.go Normal file
View File

@@ -0,0 +1,65 @@
package adb
import (
_ "embed"
"strings"
"testing"
)
//go:embed tests/multitouch.log
var multitouch string
//go:embed tests/tablet.log
var tablet string
//go:embed tests/pixel.log
var pixel string
func TestParseInputToEvent(t *testing.T) {
testCases := []struct {
name string
testFile string
}{
{"pixel", pixel},
{"multitouch", multitouch},
{"tablet", tablet},
}
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
lines := strings.Split(tc.testFile, "\n")
aD := "add device"
if !strings.Contains(lines[0], aD) {
t.Errorf("Line 0 expected to contain `%s`, but we got: %s", aD, lines[0])
}
lines = trimDeviceDescriptors(lines)
if strings.Contains(lines[0], aD) {
t.Errorf("Line 0 expected to not contain `%s`, but we got: %s", aD, lines[0])
}
parseInputToEvent(lines)
})
}
}
func TestTrimDeviceDescriptors(t *testing.T) {
testCases := []struct {
name string
testFile string
}{
{"pixel", pixel},
{"multitouch", multitouch},
{"tablet", tablet},
}
for _, tc := range testCases {
t.Run(tc.name, func(t *testing.T) {
lines := strings.Split(tc.testFile, "\n")
aD := "add device"
if !strings.Contains(lines[0], aD) {
t.Errorf("Line 0 expected to contain `%s`, but we got: %s", aD, lines[0])
}
lines = trimDeviceDescriptors(lines)
if strings.Contains(lines[0], aD) {
t.Errorf("Line 0 expected to not contain `%s`, but we got: %s", aD, lines[0])
}
})
}
}

View File

@@ -4,6 +4,10 @@ import (
"errors"
)
// When an execution should have data but has none, but the exact error is
// indeterminite, this error is returned
var ErrStdoutEmpty = errors.New("stdout expected to contain data but was empty")
var (
// When an execution should have data but has none, but the exact error is
// indeterminite, this error is returned
ErrStdoutEmpty = errors.New("stdout expected to contain data but was empty")
ErrNotInstalled = errors.New("adb is not installed or not in PATH")
ErrUnspecified = errors.New("an unknown error has occurred, please open an issue on GitHub")
)

258
tests/multitouch.log Normal file
View File

@@ -0,0 +1,258 @@
add device 1: /dev/input/event3
name: "sec_touchscreen"
add device 2: /dev/input/event2
name: "STM VL53L1 proximity sensor"
add device 3: /dev/input/event1
name: "qwerty"
add device 4: /dev/input/event0
name: "gpio_keys"
[ 697002.196876] /dev/input/event3: EV_KEY BTN_TOUCH DOWN
[ 697002.196876] /dev/input/event3: EV_ABS ABS_MT_TRACKING_ID 0000ace2
[ 697002.196876] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 00000241
[ 697002.196876] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 0000090b
[ 697002.196876] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000025
[ 697002.196876] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.209380] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000dc
[ 697002.209380] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.209380] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.217591] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697002.217591] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.226023] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.226023] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000026
[ 697002.226023] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.234150] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697002.234150] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.238271] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.238271] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.246592] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000027
[ 697002.246592] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.267532] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697002.267532] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000028
[ 697002.267532] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.271582] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.271582] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.284426] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697002.284426] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.288309] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.288309] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.308810] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697002.308810] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.312929] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.312929] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.325836] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697002.325836] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.329954] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.329954] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.338347] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000f0
[ 697002.338347] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.342510] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000dc
[ 697002.342510] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697002.342510] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.346670] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.346670] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.363215] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697002.363215] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.371231] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.371231] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.375361] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697002.375361] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.379601] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.379601] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000029
[ 697002.379601] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.383844] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000028
[ 697002.383844] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.387970] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697002.387970] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.392138] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000f0
[ 697002.392138] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.392138] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000029
[ 697002.392138] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.396230] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000dc
[ 697002.396230] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000028
[ 697002.396230] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.412820] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697002.412820] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.417035] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.417035] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.421222] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697002.421222] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.429574] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.429574] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.446398] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697002.446398] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.458981] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.458981] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.471596] /dev/input/event3: EV_ABS ABS_MT_SLOT 00000001
[ 697002.471596] /dev/input/event3: EV_ABS ABS_MT_TRACKING_ID 0000ace3
[ 697002.471596] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 00000284
[ 697002.471596] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006d1
[ 697002.471596] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000a0
[ 697002.471596] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 0000008c
[ 697002.471596] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000016
[ 697002.471596] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.646421] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006d2
[ 697002.646421] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000f0
[ 697002.646421] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000f0
[ 697002.646421] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002c
[ 697002.646421] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.654742] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006d3
[ 697002.654742] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000dc
[ 697002.654742] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.654742] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.659103] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 00000283
[ 697002.659103] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000f0
[ 697002.659103] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.667341] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006d4
[ 697002.667341] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000dc
[ 697002.667341] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.696450] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006d5
[ 697002.696450] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.725621] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006d6
[ 697002.725621] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000f0
[ 697002.725621] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.729849] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 00000282
[ 697002.729849] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.747030] /dev/input/event3: EV_ABS ABS_MT_SLOT 00000002
[ 697002.747030] /dev/input/event3: EV_ABS ABS_MT_TRACKING_ID 0000ace4
[ 697002.747030] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 000003ab
[ 697002.747030] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 00000538
[ 697002.747030] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000f0
[ 697002.747030] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.747030] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002d
[ 697002.747030] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.751853] /dev/input/event3: EV_ABS ABS_MT_SLOT 00000001
[ 697002.751853] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 00000281
[ 697002.751853] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006d7
[ 697002.751853] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002d
[ 697002.751853] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.763750] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 00000280
[ 697002.763750] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000f0
[ 697002.763750] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.780703] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 0000027f
[ 697002.780703] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006d8
[ 697002.780703] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 00000104
[ 697002.780703] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002e
[ 697002.780703] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.793270] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 0000027e
[ 697002.793270] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000f0
[ 697002.793270] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.793270] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002f
[ 697002.793270] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.810443] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 0000027d
[ 697002.810443] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.822938] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006d9
[ 697002.822938] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002e
[ 697002.822938] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.830869] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 0000027c
[ 697002.830869] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.847913] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006da
[ 697002.847913] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000f0
[ 697002.847913] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.880815] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006db
[ 697002.880815] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697002.880815] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.905796] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 0000027b
[ 697002.905796] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000dc
[ 697002.905796] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.918355] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006dc
[ 697002.918355] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002d
[ 697002.918355] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.948108] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 0000027c
[ 697002.948108] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.960656] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006dd
[ 697002.960656] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000f0
[ 697002.960656] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.968241] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 0000027b
[ 697002.968241] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002e
[ 697002.968241] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697002.993206] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 0000027c
[ 697002.993206] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002d
[ 697002.993206] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.005771] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006de
[ 697003.005771] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000f0
[ 697003.005771] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.035752] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006df
[ 697003.035752] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000dc
[ 697003.035752] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697003.035752] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.073130] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e0
[ 697003.073130] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000f0
[ 697003.073130] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.105781] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e1
[ 697003.105781] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.118531] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e2
[ 697003.118531] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.123418] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 0000027d
[ 697003.123418] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000f0
[ 697003.123418] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.130376] /dev/input/event3: EV_ABS ABS_MT_SLOT 00000000
[ 697003.130376] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000000
[ 697003.130376] /dev/input/event3: EV_ABS ABS_MT_TRACKING_ID ffffffff
[ 697003.130376] /dev/input/event3: EV_ABS ABS_MT_SLOT 00000001
[ 697003.130376] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 0000027c
[ 697003.130376] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697003.130376] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002e
[ 697003.130376] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.135024] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 0000027d
[ 697003.135024] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.139699] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e3
[ 697003.139699] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.155594] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e4
[ 697003.155594] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.188744] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e5
[ 697003.188744] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002f
[ 697003.188744] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.255413] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e6
[ 697003.255413] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.292708] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e7
[ 697003.292708] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000f0
[ 697003.292708] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.330047] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e8
[ 697003.330047] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697003.330047] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.354955] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e9
[ 697003.354955] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000f0
[ 697003.354955] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.379841] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006ea
[ 697003.379841] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.413296] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006eb
[ 697003.413296] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.417628] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 0000027e
[ 697003.417628] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000dc
[ 697003.417628] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.467430] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 0000027f
[ 697003.467430] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006ea
[ 697003.467430] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002e
[ 697003.467430] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.492618] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e9
[ 697003.492618] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002d
[ 697003.492618] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.505034] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e8
[ 697003.505034] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002c
[ 697003.505034] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.521723] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e7
[ 697003.521723] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002b
[ 697003.521723] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.529917] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e6
[ 697003.529917] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000dc
[ 697003.529917] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 0000002a
[ 697003.529917] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.534172] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 00000280
[ 697003.534172] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000c8
[ 697003.534172] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000c8
[ 697003.534172] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000028
[ 697003.534172] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.538307] /dev/input/event3: EV_ABS ABS_MT_POSITION_X 00000281
[ 697003.538307] /dev/input/event3: EV_ABS ABS_MT_POSITION_Y 000006e5
[ 697003.538307] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MAJOR 000000a0
[ 697003.538307] /dev/input/event3: EV_ABS ABS_MT_TOUCH_MINOR 000000a0
[ 697003.538307] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000025
[ 697003.538307] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.542180] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000000
[ 697003.542180] /dev/input/event3: EV_ABS ABS_MT_TRACKING_ID ffffffff
[ 697003.542180] /dev/input/event3: EV_SYN SYN_REPORT 00000000
[ 697003.903827] /dev/input/event3: EV_ABS ABS_MT_SLOT 00000002
[ 697003.903827] /dev/input/event3: EV_ABS ABS_MT_PRESSURE 00000000
[ 697003.903827] /dev/input/event3: EV_ABS ABS_MT_TRACKING_ID ffffffff
[ 697003.903827] /dev/input/event3: EV_KEY BTN_TOUCH UP
[ 697003.903827] /dev/input/event3: EV_SYN SYN_REPORT 00000000

1001
tests/pixel.log Normal file

File diff suppressed because it is too large Load Diff

4056
tests/tablet.log Normal file

File diff suppressed because it is too large Load Diff