xbox one s controller layout - Magisk

I installed the magisk x box one S controller module so I can connect the controller via Bluetooth. This portion works. The phone sees the controller and I can link the two. However, I have no control of my first-person shooter. There was a button or two that worked, but the joysticks didn't work. There was basically no functionality.
On my homescreen the joysticks and dpad DID move around and highlight apps. I could then press a button- "A" I think- and this would open the app just like I had tapped on it. So the phone is seeing the controller and it seems like the module itself is probably working as advertised. Is there something I have to do to link the controller inputs to taps and swipes on my controller screen so this factions properly? Are there layout files somewhere that I can download and copy to specific directories?

Related

USB/BT Joystick Center 6

Okay, this is my first post so please bear with me.
I have a Viewsonic G Tablet 10" running Sm0otherBean CM10.
I have an app called USB/BT Joystick Center 6 and Joy2Touch Server downloaded on here, the app opens up and runs fine. I have it correctly configured and the driver is completely set up. I turn on the input method for the joystick center in the IME slider then I hit the Joy2Touch slider and it turns on correctly. It launches, I have my madcatz wired USB Xbox 360 remote configured to use the center Xbox button to configure the in game button setup. I go to the game, start it, hit the center Xbox button, hold down the button that I want to assign, then hold the spot on the tablet I want it to hit, and it makes a little button. I hit the center button again to close if and I test it and the button shows that it's hitting the onscreen one it's supposed to but the game doesn't respond. Any ideas why? Any help is greatly appreciated as for some reason this tablet doesn't seem to take well to multi touch.
Sent from my Viewsonic G Tablet using xda app-developers app

[APP][Android 2.1+] WiFi PC Game Controller V1.0.81

Use your Phone or Tablet as a Game Controller for your favorite PC Games over your local WiFi network. Simple to use and very configurable for each of your PC Games!
Feature packed with the features you come to expect in a Game Controller (Plus a few extras). TouchPad and Gyro Mouse functionality allow you to control your PC Mouse movements fast and easy. Use your device Gyroscope for mouse movement and also key assignment with Tilt Buttons!
Assign any WiFi PC Game Controller button to a keyboard key!
Save your Game Button configurations for each Game you have. Allows for multiple controller layouts!
Keep one of the Color Buttons Pressed by holding the Volume Up or Volume Down Key
Turn On or Off vibration
Square button button layout mode (TouchPad supported)
Tilt and TouchPad style Mouse modes. Tilt your device forward, backward, left, or right to move the Mouse or use the Finger TouchPad!
Tilt Buttons allow you to configure any keyboard key to tilt forward, tilt backward, tilt left, and tilt right. This is a great feature for Shooter and Racing games to move around.
WiFi PC Game Controller on Google Play Store
Please let me know if you have any questions or problems.
Version 1.0.81 brings a great new feature (IMO).
* Keep one of the Color Buttons Pressed by tapping the Volume Up or Volume Down Key once
This new feature allows you to hold any one of the Color Buttons in the down position; leaving your finger to use another button I've found this feature great for Shooter Games to hold zoom on weapon leaving your finger to use the fire button. Great to hold the gas pedal down for Racing Games. As you can imagine. You can use this feature for a lot of different uses in your gameplay.
Thanks and let me know if you have any questions.

Car Installs - Triggering a Tasker Task from Keyboard

Hi,
I am having difficulty getting something I would think easy to work on my Nexus for my car install.
I was wondering how people are getting tasker tasks to be triggered off keyboard hotkeys when using either their Joycon or a standard external keyboard.
It seems from research the way to do this used to be quick launch shortcuts (assigning search key + a letter) to an app or shortcut but it seems these do not work for me in android 4.4?
External keyboard helper lets you launch applications from hotkeys, but seems to give no way of launching tasker tasks.
This is really doing my head in! From youtube it looks like others have no issues doing this. Any help would be greatly appreciated!
Well, the only thing I can think of right now is to use a Tasker Scene with a focused textbox to detect the keys. You will have to run this scene as a dialog, and deal with all the complications with that... (touch disabled outside of dialog, etc) but here's another idea.
You could use a mobile bluetooth keyboard (or any keyboard that has volume/brightness keys) and have a Tasker profile pick up a change in the ringer volume variable, this would give you 2 or 3 hotkeys (vol up, down, or mute). If you don't have a keyboard like that you could edit the Android keymappings under /system/usr/keylayout/General.kl to incorporate volume changes under some key.
Sent from my SCH-I605 using xda app-developers app
Good idea with detecting the variable changes! I'm using an Arduino Micro which emulates a keyboard so I will have no problem emulating them via buttons & changing the keyboard layout kl if nessesary. Thanks
I am currently working on the same topic: Here is my workaround for trigger a task with an external bluetooth keyboard.
create a task in Tasker
create an app of this task with Tasker App Factory
remap a key of the keyboard to the new app with External Keyboard Helper
Finish
Maybe this is helpful
Thomas
What are you trying to accomplish?
Lokifish Marz said:
What are you trying to accomplish?
Click to expand...
Click to collapse
1. With a bluetooth remote (Satechi BT MediaRemote) i want to switch between the homescreen by pushing a key. (launcher nova and tasker secure settings are necessary)
2. a tasker scenes (dialog) with different options should open by pushing another key. Navigation in the scene should do also with the Bluetooth remote (not yet finish).
The goal is an intuitive handling of the tablet ui in the car with less touch-input on the screen. Something like Audi MMI or BMW idrive.
In my opinion to find icon on the homescreen while driving is difficult.
Here is my current set up.
Nexus 7 (In dash)
Center console mounted volume dial with push to mute (Tablet>dial>amp)
(Not shown in the screencap is that the media widget is also in the Navbar and accessed via a softkey in the navbar)
The console dial was initially a USB 5 button mouse with key remapping but required the amp gain be cranked up which caused issues.
Now for full control you need the following;
(Some of these things can be eliminated with voice controls)
Media Control (Previous, Play/Pause, Next, Playlist, etc.)
Directional controls (Up, Down, Left, Right)
Action Controls (Select, Home, Back, Recent, Menu)
Phone Control (Answer, Hangup, Dialpad)
SMS Control (Full KB or voice to text using a noise canceling mic)
If you skip voice control and you don't count the dialpad or KB, you need 15 buttons or adaptive input based on what app is running but still need at least 5-6 buttons. I am not sure how involved implementation of adaptive input would be as I gave up after days of trying to get it just right.
With the Satechi BT MediaRemote, you can cover most of this by key remapping but have to remember what keys are what. The advantage of proper key remapping is that it removes the need for additional apps to get it to work.
Seeing that I'm not sure how complete of a setup you are trying to get, it's hard to offer anymore advice.

[Q] Mouse tweaks for emulators

Hello all
Im trying to solve the issue that emulators such as Dos Box, ScummVM, UAE etc have when using a real mouse (plugged in with bluetooth or usb). The 2 main problems are the built in android cursor / pointer being displayed on top of the cursor from the emulator, and the mouse not going past the edge of the screen (for things like turning laying games such as doom).
Would this sort of change be possible by creating an Xposed module? Is so, does anyone have any pointers as to which classes i need to be modifying? Im guessing that the edge wrapping issue will be something in the MotionEvent.java class, but no idea about the pointer icon yet.
My end goal would be to create an easily togglabe solution that allows changing between default mouse behaviour, and a modifed style for emulators.
Thanks
Adam
Made some progress with this so far. Got the cursor hiding working. Ive attached the APK of what ive done so far. It works great for hiding the system pointer within ScummVM. To enable this set the pref and reconnect your mouse (turn off and on again). The cursors seem to only be updated when the mouse is connected to the system.
Does anyone have any ideas how to allow things like DosBox to not get stuck on the edge of the screen mouse wise? This is for things like turning in FPS games etc.
Adam

Glass Mouse

Thanks to jtxdriggers' glass launcher, I have been able to install and launch a number of legacy android apps on my glass. Unfortunately since xe12+ the touchpad no longer allows us to change focus in these apps which makes them pretty limited. Right now I am using a usb Favi keyboard to 'tab' through different elements to regain some control over legacy apps. In most cases this works fairly well.
There are some elements however that are not selectable through tab, and a mouse would be pretty useful. However, all I can get out of the touchpad of my favi is cursor movements. I've also installed synergy, and although the keyboard support works great, again the mouse cursor moves but no clicks ever make it to ui elements.
When I connect through adb and call a getevent -l, I can see that both the favi and synergy create new /dev/input/event# to control the mouse. I can also see left_btn and right_btn down and up events firing as well as scroll wheel events and cursor movement events. This leads me to believe that the drivers for the mouse is installed and working properly.
It appears to me that there is some disconnect between the system events of a mouse click and the UI event listeners. What I don't know is where those two meet up in the system. Any direction or advice from here would be greatly appreciated.

Categories

Resources