Questions tagged [d-pad]

A Directional Pad is a controller with directional keys, usually up right down left.

A Directional Pad is a controller with directional keys, usually up right down left.

See also:

85 questions
0
votes
1 answer

Is there a UIKit version of sneakyness's cocos2d d-pad?

I started working on a small game just to test peer-to-peer gameplay. Anyway, as time passed I added a lot of features and a small singleplayer campaign. At the begining I put 4 buttons to control the character, because I just wanted something fast…
Toncean Cosmin
  • 535
  • 4
  • 19
0
votes
0 answers

Flutter app for android TV is not working with Dpad in remote

I have a task to fix some old flutter app for AndroidTV and and update it to newest version of Flutter In my old source, I'm using: return Shortcuts( shortcuts: { LogicalKeySet(LogicalKeyboardKey.select):…
0
votes
1 answer

Control how much ExoPlayer time bar shifts when scrubbing with D-PAD

I am trying to customize how much does the time jump when the ExoPlayer's exo_progress Time Bar is focused and the D-PAD left and right buttons are pressed to move back/forward in time through the content. By default it jumps 6 minutes which is a…
YU No
  • 69
  • 1
  • 7
0
votes
0 answers

I was trying to implement the d-pad control functionality in my android tv app but it is not working properly

This is my andexoplayer activity file and i am using the exoplayer library to play videos in android tv app.I was trying to implement the d-pad control functionality in my android tv app but it is not working properly. package…
0
votes
0 answers

Android EditText - focus other view with dpadUp/dpadDown dows not work

I placed 4 EditText controls in my activity_main.xml. I want cycle over these controls with TV remote controller using DPAD-UP/DOWN buttons. If I press dpad-up/down next/previous edittext should be selected (focused), but not active (i should not…
user1063364
  • 791
  • 6
  • 21
0
votes
0 answers

Support long click with d-pad in Flutter and Android TV

I'm working on an Android TV app built with Flutter. I found many articles/answers about focusable/clickable widgets, but nothing about long click support for d-pad which is a very popular UX pattern in TV apps. Inkwell onLongPressed callback is not…
Jul
  • 1,039
  • 3
  • 12
  • 20
0
votes
1 answer

How to cancel a dpad key event programmatically in jetpack compose?

I want to ignore a dpad key event in a specific location to keep the focus on the screen. I tried to simulate another key event to cancel the first key event i.e. to cancel dpad_up I called dispatchKeyEvent for dpad_down but it doesn't seem to work…
esma
  • 1
  • 1
0
votes
0 answers

onPressed in D-PAD not working in Flutter running in Android TV after focus TextField

I have developed a small app for Android Tv, everything works great, but if there is a TextField on the screen, the focus control becomes quite unstable, especially onPressed/onTap, etc. events stop working (when using D-Pad, in simulator o real…
Salva Burrezo
  • 23
  • 1
  • 5
0
votes
1 answer

AndroidTV RecyclerView: Highlight entry when using DPAD

This subject is driving my nuts. I've read virtually a hundred posts about it, but none of them reflects my situation. I'm using a plain simple RecyclerView in an app running on AndroidTV. To enable navigation, I've set android:focusable="true" Now,…
Harry Developer
  • 260
  • 1
  • 3
  • 15
0
votes
1 answer

How to select and click on child views of Android ViewPager2 with Dpad/Game Controller

I am investigating Bluetooth Dpad and game controllers in my current Android Project. I can successfully select and click on all my UI widets within my App. However I have a ViewPager2 that holds multiple fragments and I am unable to select or click…
Hector
  • 4,016
  • 21
  • 112
  • 211
0
votes
2 answers

how to make android TV app accesiible by DPAD?

I have created an Android App for Android TV, I want to know how can I enable D-pad naigation to my menu. I am new to android TV applications,and could not find anyother way to do the same. For menu I have added 4 TextViews, but they are not…
Usman
  • 84
  • 8
0
votes
2 answers

React Native for Android TV - Focus In/Out event Issue

I just deployed an Android TV demo app built using react native 0.57. However, I noticed that Focusable elements are not working properly. I was expecting the focus going on/off on either TouchableOpacity and TouchableHighlight elements with event…
J. Alves
  • 51
  • 1
  • 6
0
votes
1 answer

swift 4 two dpads with spritekit

A screenshot of my game I want to make a game (with Spritekit) where you can use the left dpad to move the player around in a tile map which already works. With the right one you can aim at opponents which works too. Althought I enabled multiple…
Paul
  • 459
  • 7
  • 14
0
votes
1 answer

Creating a D-pad in Kivy (constrain movement)

I am very new to using Kivy for an assignment and I am stumped on one specific issue. My goal is to create a directional pad as shown in the image below whereby the blue circle will start out at the center of the image and is able to be dragged, but…
Joe Yim
  • 3
  • 3
0
votes
1 answer

Port Recycler view created for mobile app to Android TV supporting Dpad controls

I am currently trying to port Android mobile app to Android TV. I have a RecyclerView that seems to be displaying correctly in my Android TV app. But I don't seem to be able to navigate inside RecyclerView using dpad controls. P.S i have tried…
Hussnain Azam
  • 358
  • 1
  • 5
  • 14