Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[New Device Support]: Fire TV Stick - Basic Edition #43

Closed
berta17 opened this issue Feb 23, 2023 · 3 comments
Closed

[New Device Support]: Fire TV Stick - Basic Edition #43

berta17 opened this issue Feb 23, 2023 · 3 comments
Assignees
Labels
enhancement New feature or request New Device Support Request to add support of a currently unsupported Amazon Fire device

Comments

@berta17
Copy link

berta17 commented Feb 23, 2023

Device Name

Fire TV Stick - Basic Edition

Which compatability mode event number works BEST with your device?

None

Additional Comments (optional)

All the buttons work with "event4" compatibility mode.
RaiPlay (IT) does not work: issue35

Interrogation ADB Response (optional but EXTREMELY helpful)

`source_list: Netflix
app_id: com.netflix.ninja
source: Netflix
adb_response: INPUT MANAGER (dumpsys input)

Event Hub State:
BuiltInKeyboardId: -2
Devices:
-1: Virtual
Classes: 0x40000023
Path:
Descriptor: a718a782d34bc767f4689c232d64d527998ea7fd:00000000
Location:
ControllerNumber: 0
UniqueId:
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: hdmipower
Classes: 0x00000001
Path: /dev/input/event1
Descriptor: a917cc44911b6f32b9481384b0da35fb5f3d84d3:00000000
Location:
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0000, vendor=0x0000, product=0x0000, version=0x0000
KeyLayoutFile: /system/usr/keylayout/Generic.kl
KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
ConfigurationFile:
HaveKeyboardLayoutOverlay: false
2: mtk-kpd
Classes: 0x00000001
Path: /dev/input/event0
Descriptor: f0d2e427e7a05eb6d316f5e14800c5ac7b6aee79:24546500
Location:
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0019, vendor=0x2454, product=0x6500, version=0x0010
KeyLayoutFile: /system/usr/keylayout/Generic.kl
KeyCharacterMapFile: /system/usr/keychars/Generic.kcm
ConfigurationFile:
HaveKeyboardLayoutOverlay: false
3: amazon_touch
Classes: 0x00000014
Path: /dev/input/event2
Descriptor: 185733e0df071e21edd860dd6224a1f9f378c689:00000000
Location:
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0005, vendor=0x0000, product=0x0000, version=0x0008
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile: /system/usr/idc/amazon_touch.idc
HaveKeyboardLayoutOverlay: false
4: kcmouse
Classes: 0x80000008
Path: /dev/input/event3
Descriptor: 3b975ed12e4cb4357a995906d1f9c74d8457fd71:00000000
Location:
ControllerNumber: 0
UniqueId:
Identifier: bus=0x0005, vendor=0x0000, product=0x0000, version=0x0008
KeyLayoutFile:
KeyCharacterMapFile:
ConfigurationFile:
HaveKeyboardLayoutOverlay: false

Input Reader State:
Device -1: Virtual
Generation: 2
IsExternal: false
Sources: 0x00000301
KeyboardType: 2
Keyboard Input Mapper:
Parameters:
HasAssociatedDisplay: false
OrientationAware: false
HandlesKeyRepeat: false
KeyboardType: 2
Orientation: 0
KeyDowns: 0 keys currently down
MetaState: 0x0
DownTime: 0
Device 1: hdmipower
Generation: 6
IsExternal: false
Sources: 0x00000101
KeyboardType: 1
Keyboard Input Mapper:
Parameters:
HasAssociatedDisplay: false
OrientationAware: false
HandlesKeyRepeat: false
KeyboardType: 1
Orientation: 0
KeyDowns: 0 keys currently down
MetaState: 0x0
DownTime: 701760650346000
Device 2: mtk-kpd
Generation: 4
IsExternal: false
Sources: 0x00000101
KeyboardType: 1
Keyboard Input Mapper:
Parameters:
HasAssociatedDisplay: false
OrientationAware: false
HandlesKeyRepeat: false
KeyboardType: 1
Orientation: 0
KeyDowns: 0 keys currently down
MetaState: 0x0
DownTime: 0
Device 3: amazon_touch
Generation: 9
IsExternal: false
Sources: 0x00001002
KeyboardType: 0
Motion Ranges:
X: source=0x00001002, min=0.000, max=1919.000, flat=0.000, fuzz=0.000, resolution=0.000
Y: source=0x00001002, min=0.000, max=1079.000, flat=0.000, fuzz=0.000, resolution=0.000
PRESSURE: source=0x00001002, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
Touch Input Mapper:
Parameters:
GestureMode: spots
DeviceType: touchScreen
AssociatedDisplay: hasAssociatedDisplay=true, isExternal=false
OrientationAware: true
Raw Touch Axes:
X: min=0, max=1919, flat=0, fuzz=0, resolution=0
Y: min=0, max=1079, flat=0, fuzz=0, resolution=0
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.size.scale: 40.000
touch.size.bias: 0.000
touch.size.isSummed: false
touch.pressure.calibration: none
touch.pressure.scale: 0.013
touch.orientation.calibration: none
touch.distance.calibration: none
touch.coverage.calibration: none
Affine Transformation:
X scale: 1.000
X ymix: 0.000
X offset: 0.000
Y xmix: 0.000
Y scale: 1.000
Y offset: 0.000
Viewport: displayId=0, orientation=0, logicalFrame=[0, 0, 1920, 1080], physicalFrame=[0, 0, 1920, 1080], deviceSize=[1920, 1080]
SurfaceWidth: 1920px
SurfaceHeight: 1080px
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
Device 4: kcmouse
Generation: 12
IsExternal: true
Sources: 0x00002002
KeyboardType: 0
Motion Ranges:
X: source=0x00002002, min=0.000, max=1919.000, flat=0.000, fuzz=0.000, resolution=0.000
Y: source=0x00002002, min=0.000, max=1079.000, flat=0.000, fuzz=0.000, resolution=0.000
PRESSURE: source=0x00002002, min=0.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
VSCROLL: source=0x00002002, min=-1.000, max=1.000, flat=0.000, fuzz=0.000, resolution=0.000
Cursor Input Mapper:
Parameters:
HasAssociatedDisplay: true
Mode: pointer
OrientationAware: false
XScale: 1.000
YScale: 1.000
XPrecision: 1.000
YPrecision: 1.000
HaveVWheel: true
HaveHWheel: false
VWheelScale: 1.000
HWheelScale: 1.000
Orientation: 0
ButtonState: 0x00000000
Down: false
DownTime: 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{3591a18b token=Token{5a9fb5a ActivityRecord{124d6f05 u0 com.netflix.ninja/.MainActivity t236}}}', dispatchingTimeout=5000.000ms
FocusedWindow: name='Window{3efed45d u0 dream}'
TouchStates:
Windows:
0: name='Window{1b38178e u0 com.amazon.vizzini}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01400108, type=0x000007da, layer=221005, frame=[0,0][1920,1080], scale=1.000000, touchableRegion=[0,0][1920,1080], inputFeatures=0x00000000, ownerPid=1413, ownerUid=32143, dispatchingTimeout=5000.000ms
1: name='Window{14f32973 u0 com.amazon.vizzini}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01400100, type=0x000007da, layer=221000, frame=[0,0][1920,1080], scale=1.000000, touchableRegion=[0,0][1920,1080], inputFeatures=0x00000000, ownerPid=1413, ownerUid=32143, dispatchingTimeout=5000.000ms
2: name='Window{3efed45d u0 dream}', displayId=0, paused=false, hasFocus=true, hasWallpaper=false, visible=true, canReceiveKeys=true, flags=0x01810581, type=0x000007e7, layer=91000, frame=[0,0][1920,1080], scale=1.000000, touchableRegion=[0,0][1920,1080], inputFeatures=0x00000000, ownerPid=1160, ownerUid=32086, dispatchingTimeout=5000.000ms
3: name='Window{22c2f803 u0 com.amazon.tv.launcher/com.amazon.tv.launcher.ui.HomeActivity_vNext}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=true, canReceiveKeys=true, flags=0x83810120, type=0x00000001, layer=21015, frame=[0,0][1920,1080], scale=1.000000, touchableRegion=[0,0][1920,1080], inputFeatures=0x00000000, ownerPid=18417, ownerUid=32128, dispatchingTimeout=5000.000ms
4: name='Window{34874c2d u0 com.netflix.ninja/com.netflix.ninja.MainActivity}', displayId=0, paused=false, hasFocus=false, hasWallpaper=false, visible=false, canReceiveKeys=false, flags=0x01810520, type=0x00000001, layer=21010, frame=[0,0][1920,1080], scale=1.000000, touchableRegion=[0,0][1920,1080], inputFeatures=0x00000000, ownerPid=4856, ownerUid=10018, dispatchingTimeout=5000.000ms
MonitoringChannels:
0: 'WindowManager (server)'
RecentQueue: length=10
KeyEvent, age=78475368.0ms
KeyEvent, age=78475328.0ms
KeyEvent, age=78457176.0ms
KeyEvent, age=78457056.0ms
KeyEvent, age=78454472.0ms
KeyEvent, age=78454264.0ms
KeyEvent, age=78441368.0ms
KeyEvent, age=78441216.0ms
DeviceResetEvent(deviceId=10), policyFlags=0x00000000, age=69433528.0ms
, age=69433528.0ms
PendingEvent:
InboundQueue:
ReplacedKeys:
Connections:
0: channelName='WindowManager (server)', windowName='monitor', status=NORMAL, monitor=true, inputPublisherBlocked=false
OutboundQueue:
WaitQueue:
1: channelName='22c2f803 com.amazon.tv.launcher/com.amazon.tv.launcher.ui.HomeActivity_vNext (server)', windowName='Window{22c2f803 u0 com.amazon.tv.launcher/com.amazon.tv.launcher.ui.HomeActivity_vNext}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue:
WaitQueue:
2: channelName='14f32973 (server)', windowName='Window{14f32973 u0 com.amazon.vizzini}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue:
WaitQueue:
3: channelName='1b38178e (server)', windowName='Window{1b38178e u0 com.amazon.vizzini}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue:
WaitQueue:
4: channelName='34874c2d com.netflix.ninja/com.netflix.ninja.MainActivity (server)', windowName='Window{34874c2d u0 com.netflix.ninja/com.netflix.ninja.MainActivity}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue:
WaitQueue:
5: channelName='3efed45d dream (server)', windowName='Window{3efed45d u0 dream}', status=NORMAL, monitor=false, inputPublisherBlocked=false
OutboundQueue:
WaitQueue:
AppSwitch: not pending
Configuration:
KeyRepeatDelay: 50.0ms
KeyRepeatTimeout: 500.0ms
hdmi_input: null
device_class: tv
entity_picture: /api/media_player_proxy/media_player.fire_tv_192_168_1_116?
friendly_name: Fire TV 192.168.1.116
supported_features: 22961`

@berta17 berta17 added enhancement New feature or request New Device Support Request to add support of a currently unsupported Amazon Fire device labels Feb 23, 2023
@PRProd
Copy link
Owner

PRProd commented Feb 25, 2023

@berta17 - THANKS!

Wiki entry has been created, and this is expected to be released as a part of an upcoming major release

@PRProd
Copy link
Owner

PRProd commented Mar 17, 2023

Support has been added in the recent pre-release version(s). I will keep this open until the official release.

@PRProd
Copy link
Owner

PRProd commented Mar 21, 2023

This functionality exists now in the newest release: v2.0.0

Enjoy!

Join the discussion #52

@PRProd PRProd closed this as completed Mar 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request New Device Support Request to add support of a currently unsupported Amazon Fire device
Projects
None yet
Development

No branches or pull requests

2 participants