最終更新:2015-07-06 (月) 15:07:43 (3188d)
dumpsys input
Top / dumpsys input
dumpsys input -h INPUT MANAGER (dumpsys input)
デバッグ出力
メモ
例 (Android 4.2)
DUMP OF SERVICE input: INPUT MANAGER (dumpsys input) Event Hub State: BuiltInKeyboardId: 1 Devices: -1: Virtual Classes: 0x40000023 Path: <virtual> Descriptor: a718a782d34bc767f4689c232d64d527998ea7fd Location: UniqueId: <virtual> Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000 KeyLayoutFile: /system/usr/keylayout/Generic.kl KeyCharacterMapFile: /system/usr/keychars/Virtual.kcm ConfigurationFile: HaveKeyboardLayoutOverlay: false 1: qwerty2 (aka device 0 - built-in keyboard) Classes: 0x0000000f Path: /dev/input/event0 Descriptor: 04c0f71d9920e1e448166e8a4feebf80d1849c2f Location: UniqueId: Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000 KeyLayoutFile: /system/usr/keylayout/qwerty.kl KeyCharacterMapFile: /system/usr/keychars/qwerty2.kcm ConfigurationFile: /system/usr/idc/qwerty2.idc HaveKeyboardLayoutOverlay: false Input Reader State: Device -1: Virtual Generation: 2 IsExternal: false Sources: 0x00000301 KeyboardType: 2 Keyboard Input Mapper: Parameters: HasAssociatedDisplay: false OrientationAware: false KeyboardType: 2 Orientation: 0 KeyDowns: 0 keys currently down MetaState: 0x0 DownTime: 0 Device 0: qwerty2 Generation: 10 IsExternal: false Sources: 0x00011107 KeyboardType: 2 Motion Ranges: X: source=0x00010004, min=-1.000, max=1.000, flat=0.000, fuzz=0.167 Y: source=0x00010004, min=-1.000, max=1.000, flat=0.000, fuzz=0.167 PRESSURE: source=0x00010004, min=0.000, max=1.000, flat=0.000, fuzz=0.000 X: source=0x00001002, min=0.000, max=319.000, flat=0.000, fuzz=1.000 Y: source=0x00001002, min=0.000, max=479.000, flat=0.000, fuzz=1.000 PRESSURE: source=0x00001002, min=0.000, max=1.000, flat=0.000, fuzz=0.000 Keyboard Input Mapper: Parameters: HasAssociatedDisplay: true OrientationAware: true KeyboardType: 2 Orientation: 0 KeyDowns: 0 keys currently down MetaState: 0x0 DownTime: 0 Cursor Input Mapper: Parameters: HasAssociatedDisplay: true Mode: navigation OrientationAware: true XScale: 0.167 YScale: 0.167 XPrecision: 6.000 YPrecision: 6.000 HaveVWheel: false HaveHWheel: false VWheelScale: 1.000 HWheelScale: 1.000 Orientation: 0 ButtonState: 0x00000000 Down: false DownTime: 0 Touch Input Mapper: Parameters: GestureMode: spots DeviceType: touchScreen AssociatedDisplay: hasAssociatedDisplay=true, isExternal=false OrientationAware: true Raw Touch Axes: X: min=0, max=319, flat=0, fuzz=0, resolution=1203557137 Y: min=0, max=479, flat=0, fuzz=0, resolution=1203557137 Pressure: unknown range TouchMajor: unknown range TouchMinor: unknown range ToolMajor: unknown range ToolMinor: unknown range Orientation: unknown range Distance: unknown range TiltX: unknown range TiltY: unknown range TrackingId: unknown range Slot: unknown range Calibration: touch.size.calibration: none touch.pressure.calibration: none touch.orientation.calibration: none touch.distance.calibration: none Viewport: displayId=0, orientation=0, logicalFrame=[0, 0, 320, 480], physicalFrame=[0, 0, 320, 480], deviceSize=[320, 480] SurfaceWidth: 320px SurfaceHeight: 480px SurfaceLeft: 0 SurfaceTop: 0 SurfaceOrientation: 0 Translation and Scaling Factors: XTranslate: 0.000 YTranslate: 0.000 XScale: 1.000 YScale: 1.000 XPrecision: 1.000 YPrecision: 1.000 GeometricScale: 1.000 PressureScale: 0.000 SizeScale: 0.000 OrientationScale: 0.000 DistanceScale: 0.000 HaveTilt: false TiltXCenter: 0.000 TiltXScale: 0.000 TiltYCenter: 0.000 TiltYScale: 0.000 Last Button State: 0x00000000 Last Raw Touch: pointerCount=0 Last Cooked Touch: pointerCount=0 Configuration: ExcludedDeviceNames: [] VirtualKeyQuietTime: 0.0ms PointerVelocityControlParameters: scale=1.000, lowThreshold=500.000, highThreshold=3000.000, acceleration=3.000 WheelVelocityControlParameters: scale=1.000, lowThreshold=15.000, highThreshold=50.000, acceleration=4.000 PointerGesture: Enabled: true QuietInterval: 100.0ms DragMinSwitchSpeed: 50.0px/s TapInterval: 150.0ms TapDragInterval: 300.0ms TapSlop: 20.0px MultitouchSettleInterval: 100.0ms MultitouchMinDistance: 15.0px SwipeTransitionAngleCosine: 0.3 SwipeMaxWidthRatio: 0.2 MovementSpeedRatio: 0.8 ZoomSpeedRatio: 0.3 Input Dispatcher State: DispatchEnabled: 1 DispatchFrozen: 0 FocusedApplication: name='AppWindowToken{40e98f58 token=Token{40f2bf88 ActivityRecord{40f2bb70 u0 com.android.launcher/com.android.launcher2.Launcher}}}', dispatchingTimeout=5000.000ms FocusedWindow: name='Window{40efb6a0 u0 Keyguard}' TouchDown: false TouchSplit: false TouchDeviceId: -1 TouchSource: 0x00000000 TouchDisplayId: -1 TouchedWindows: <none> Windows: 0: name='Window{40f00868 u0 StatusBar}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=false, flags=0x01800048, type=0x000007d0, layer=151000, frame=[0,0][320,25], scale=1.000000, touchableRegion=[0,0][320,25], inputFeatures=0x00000000, ownerPid=337, ownerUid=10019, dispatchingTimeout=5000.000ms 1: name='Window{40efb6a0 u0 Keyguard}', displayId=0, paused=false, hasFocus=true, hasWallpaper=false, visible=true, canReceiveKeys=true, flags=0x00130900, type=0x000007d4, layer=121000, frame=[0,0][320,480], scale=1.000000, touchableRegion=[0,0][320,480], inputFeatures=0x00000004, ownerPid=276, ownerUid=1000, dispatchingTimeout=5000.000ms 2: name='Window{40e81af8 u0 com.android.systemui.ImageWallpaper}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=false, flags=0x00000318, type=0x000007dd, layer=21005, frame=[0,0][590,480], scale=1.000000, touchableRegion=[0,0][590,480], inputFeatures=0x00000000, ownerPid=337, ownerUid=10019, dispatchingTimeout=5000.000ms 3: name='Window{40fd0978 u0 com.android.launcher/com.android.launcher2.Launcher}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01910100, type=0x00000001, layer=21000, frame=[0,0][320,480], scale=1.000000, touchableRegion=[0,0][320,480], inputFeatures=0x00000000, ownerPid=402, ownerUid=10022, dispatchingTimeout=5000.000ms MonitoringChannels: <none> InboundQueue: <empty> Connections: 0: channelName='40efb6a0 Keyguard (server)', windowName='Window{40efb6a0 u0 Keyguard}', status=NORMAL, monitor=false, inputPublisherBlocked=false OutboundQueue: <empty> WaitQueue: <empty> 1: channelName='40f00868 StatusBar (server)', windowName='Window{40f00868 u0 StatusBar}', status=NORMAL, monitor=false, inputPublisherBlocked=false OutboundQueue: <empty> WaitQueue: <empty> 2: channelName='40fd0978 com.android.launcher/com.android.launcher2.Launcher (server)', windowName='Window{40fd0978 u0 com.android.launcher/com.android.launcher2.Launcher}', status=NORMAL, monitor=false, inputPublisherBlocked=false OutboundQueue: <empty> WaitQueue: <empty> 3: channelName='40e81af8 com.android.systemui.ImageWallpaper (server)', windowName='Window{40e81af8 u0 com.android.systemui.ImageWallpaper}', status=NORMAL, monitor=false, inputPublisherBlocked=false OutboundQueue: <empty> WaitQueue: <empty> AppSwitch: not pending Configuration: KeyRepeatDelay: 50.0ms KeyRepeatTimeout: 500.0ms