Code Monkey home page Code Monkey logo

xiaomi_gamepad's People

Contributors

ineery avatar irungentoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xiaomi_gamepad's Issues

no executable files for the windows form version?

Helloo

the latest version doesn't give any instruction of how to install them.
do we need to download and install visual studio to compile them manually?
Seriously though, I prefer the command prompt version.

Middle button not working for me

All buttons & the rumble functional, but the middle "mi" button press is not detectable. (just a long press what turns the controller off)
I'm using windows 8.1 with Toshiba Bluetooth Stack v9.10.32

Gamepad shuts off after a few seconds

I was able to install the service, and play a game successfully for a little while, but the controller(s) shut down after about 10 seconds of use. The console shows no extra information.

I can replicate the problem every time. Is it possible for me to send you some logs?

Accelerometer - Dolphin Emulator

If I`m right, our gamepads do have built-in accelerometer.
Is it possible to setup this function with Dolphin Emulator?

Or does this script still doesn`t have accelerometer developed?

Thanks! (I didnt know where to post, Im not used to github).

Vibration Problem

Hi,
First of all, thank you for creating this wonderful program.
All functions perfect. Only just Except one thing.
The vibration function does not work at all.
I want to know the easiest way to demonstrate the vibration function.

My environment is Windows 10, 64-bit and Collection SS-BT2 GOLD bluetooth 4.0 USB Dongle adaptor.

I want to know your solution for vibration test. Please Help me.
thanks, advance.

gamepad freeze after few min playing Nier automata steam game

hi! my xiaomi gamepad work fine with all android phone or pc emu game before.
and the only problem is gamepad stop working after few min playing Nier automata via steam on pc
the led still bright but gamepad no respond. like hang up. i have to remove device and reconnect again
after few min hang again. i guess your driver does not compatiblity with steam yet.
my system: win 10
pls fix it . thank you

Both triggers are setted into the same axis

Hi,

I have a problem, into the Xbox gamepad propierties I can see how both triggers are setted into the same axis, making that if I press for example both triggers, it turns back to position zero. Could it be resolved with an update?

Thank you.

Xiaomi gamepad on Mac

It works very well on my PC.

But I just got a Macbook Pro. Could you please make a driver for Mac ?

Gamepad stops working when rumble

Hi!

Nice to see someone made this program for my favorite gamepad! I've used it before with x360ce. 90% of games are worked perfectly! Sadly there was no rumble.
Now I am installed your program to get it.
In GTA V, or LEGO Jurassic park the gamepad turning off, when vibrating. When I tried to switch back, it is not worked properly (one of the buttosns stucked until I am stop the mi.exe) till I am restarted the game.

Of course the x360ce not working simultaneously with your program, an I am deleted the x360ce files too. The scp driver installation was perfect. I can't understand what is the problem.

DEADZONE

the deadzone is so large for me, how to change that?

d-pad up is pressed by ghost sporadically

I palyed yesterday spintires over internet with my friend. (everyone on another pc) and every 10 minutes (circa) the d-pad up-button was triggerd for some reason on both machines.

W7 write error

I've connected gamepad on W10 with no troubles.
After trying on W7 got this:

VendorID=0x2717, ProductID=0x3144, Version=256, DevicePath=\\?\hid#csrhiddevice2
7173144#9&2f547c71&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Could not write to gamepad (is it closed?), skipping
0 controllers connected

Could anyone help? Thanks in advance.
Trishun

Same problem with new Windows 10

Hey I have same problem with the new build windows 10 (Redstone Build). With the new release mi.exe, now app showing some error. It said "Couldn't open gamepad in exclusive mode, ..... attempting to open in shared mode.

Like I said before, I already close anything that may use my controller and I check with Process Explorer, to make sure no app using my controller. And same error still persist. Can you fix it? I know you maybe suggest me using old windows 10, but Redstone build will available to everyone in July and I think everyone who use windows 10 will update to this build because it more stable (Microsoft Edge, many more) and more polished. So, yeah, if you can fix this problem that will be great. Anyway thanks for this app!

Wrong X rotation Compared Original XBOX360 Controller

2016-03-31_164304

i try to play metro lastlight redux and metro 2033 Redux, if i moved with left analog to left, right, and down,and back to the center analog.. left analog still moved little bit with last direction. than i look to properties controller on windows i thinks X Rotation isn't right. if i compare with original x360 controller. you can see the differences with this picture.. thanks

and this is,Xbox One properties : http://www.hanselman.com/blog/content/binary/xboxonecontrolleronpc.gif

Game i tryed:

Third person:
Mad Max 2015 (Work great)
Specof the line (Work great)

Race:
Motogp 2015 (Work great)
grid 2 (Work great)

FPS:
Metro lastlight & metro 2033 Redux Edition (Problem left analog still moved little bit to last direction)
Metro 2033 'pirate' (Problem left analog still moved little bit to last direction)

Work as a service?

Hi, could this software be coded to work as a windows service? This way we don't have to launch it every time we want to emulate a 360 gamepad if we want it to behave like that all the time. It could also handle connection issues, as when sleeping the system that it won't work after that if you don't restart the app.

BTW, is there a way to know the remaining battery of the controller?

Demo program for rumble + accelerator?

Could you please add a small demo program (precompiled windows binary) that lets people read the values from the accelerometer and test the rumble function?

stop working on (a+x) combination button

so i found out this unusual issue after playing some games that my gamepad turn out to be like this, after i press A then press X button after several seconds the gamepad suddenly stop working, (never knew had this issue before) so any idea what happen's here? thank's

ps: sorry for my bad english

Gamepad turns off on some rumble

Hey, first of all thanks for the efforts to make this work!
I found a problem, for example in Far Cry Primal when you pick some weapons it vibrates, but sometimes this vibration turns off the gamepad :/ And when I turn it on the game says that it found new device but can't determine the type. mi.exe doesn't throw anything is there a way to debug or traceback the errors so I can send them to you?

Dont have rumble on xiaomi gamepad

I tried this, and it worked very well on previous version. But no vibration at all, it vibrates when i turn it on, but not in game. I tried this new version with fixed middle button, and it cant find controller. So i stayed with previous one.
What can be problem for rumble not to work? Thanx

Activating accelerometer to be able to actually use it?

Hi,
great work, I never thought someone will achieve to support of rumble or accelerometer for this gamepad. However I have question regarding accelerometer. Is it possible to actually use it? I thought that once activated, it will work in game like any other axis. Because these accelerometer axis are visible in gamepad configuration tool (at least in linux under KDE), however they are dead and does not work even if accelerometer is activated via accelerometer_print. What am I missing?

Question about rumble on Android?

I know it is a bit off topic, but does developer knows why rumble function does not work on Android?
Since this device is made for Android it should work out of the box, without special driver?

Anyway, I tested it with ePsxe emulator and with Mupen64 emulator, gamepad works OK, but rumble (dual shock) not.
Gamepad vibration works, because it vibrates during initial bluetooth connection.
Is there some .apk driver to install? Is there some Gamepad profile i must include/edit?

Maybe to try to set Gamepad as XBOX360 gamepad or something like that? I'm running short on ideas here. Any help would be appreciated, Thanks.

work at first and now doesnt work :(

first i had playing some games with this amazing mapper but suddenly i cant use it anymore. i have re-installed the scp more and more but still doesnt work. on mi.exe it detected but not on game. pls anyone help me :((

Not using full XInput thumbstick axis range

Looking at the code in Program.cs, it looks like the assumed range for LeftStickX, LeftStickY, RightStickX, and RightStickY is [-32767, 32767]. However, upon testing and looking at some XInput documenation, the actual range for those axes is [-32768, 32767].

I have been tinkering with XInput emulation using ScpVBus and I could never get a full speed left camera turn in Duke Nukem Forever nor Bioshock 2 even though there was no problem getting a full speed right camera turn. Adjusting the range actually allowed the camera to work as expected. I was using your source code as reference for my small test program so I thought I should let you know about the potential problem.

https://msdn.microsoft.com/en-us/library/windows/desktop/microsoft.directx_sdk.reference.xinput_gamepad(v=vs.85).aspx

Delay with a second Xiaomi gamepad

Hello, I'm trying to play with two Xiaomi gamepads on the same pc, they connect well, my.exe detects them well in exclusive mode, but when I start a game (for example cars) the 1 command works ok, but the second gamepad has A delay in all the buttons, sometimes more time of delay and sometimes less.
I am doing something wrong??

P.D: Thanks for this incredible project

MI Button not Working

I've installed the software yesterday and everything is working perfectly fine, except for the MI Button, which doesn't get registered in Windows

The dead zone is big.

Hi,
The gamepad works very well. But the deadzone of the sticks are too big for me. Can I some how edit that ?
Thanks.

Not work for me

I have following your step as
----------How to Use-------------------

  1. Install SCP driver (see next section) (you only need to do this once)
  2. Connect the Controller to your PC and turn it on.
  3. Run mi.exe

every thing work fine. Then i open game(stream game) on Window 10 Pro 64 bit. But it doesn't work at all.

P/s; my mi gampad sync with bluetooth perfectly.

Can you please help?

Not Working on Windows 10 14352

It's weird. I decided to upgrade windows 10 insider build because it has a lot a new feature. But my xiaomi gamepad start not working on this build. I don't know, already install and uninstalled ScPdriver and mi.exe recognized my xiaomi gamepad. But in game it's not working. In device and printer control panel, has a xbox controller and xiaomi gamepad but when I did controller setting the only device work is xiaomi, and xbox doesn't respon any button I press.

I think its something about bypassing controller I don't know. Can you help me?

Not an issue, working great!

Thanks for this mini project. This make Xiaomi gamepad feel awesome with rumble support on my PC. anyway can you make adjustment for rumble. For me it's too weak. Great project anyway, I want comment you on miui but I didn't want spoil my phone number privacy with create an account on it. Thanks I will share this great project on youtube, blog, or whatever have comment section. This app absolutely fantastic. Cheers!

does it support multiple mi gamepad?

Hello, is this support multiple mi gamepad? i wanna buy another mi gamepad so i can use it as 2P stick and just to make sure if the project really supports it (i saw the joystick count on console command, wonder if i can use multiple mi gamepad).

thanks for the project!

Suggestion to the app

Hello, I have an idea that maybe can make this software be better.
Can you make the mi.exe running at the background at the start and search the gamepad for continuously. so when i turn on the gamepad, mi.exe will connect to the gamepad automatically. because, for now, we must connect the gamepad first, then running mi.exe manually.
thanks for the attention

Problem with FiFa17! :(

hello guys
i bought two of xiaomi game pad but after pairing on win10 and starting fifa 17 just the navigation of the pads work and the most of the button do not work!!:((
please help!
any one know soloution?

Right Joystick problems

The right joystick doesn't work when I move it from left to right, it's always pointing to left

Freeze when open Origin or Steam game

Whenever I open FIFA 17 or some games on Steam (8bit Fiesta, Guns, Gore & Cannoli...), my computer keeps freezing for a few minutes, then the loading screen show up and freeze again. Please fix ít :(

Use the G sensor

You have made a very good tool. And I can see in your Project, it's seem the G sensor can working, but I don't know how to use that feature. Please tell me some information about this and how can I use it if possible. Thank you very much and sorry for my English.

Windows Forms update

Hello,

I ported your console application to Windows Forms.
It works perfect and also you have the possibility to minimize to tray.

Can I merge it to your project?
Or publish on my tree?

Regards yener90

Issue with multiple gamepads

I have an XBox 360 wireless gamepad, the Xiaomi Mi gamepad and an Asus Nexus Player gamepad, which also emulates an XBox 360 controller.

When I run the Mi.exe, in the windows games the xbox 360 gamepad is recognized and works ok.
The Asus and the Xiaomi Mi gamepad are recognized as one gamepad (not two as it should be) and the input of the two gamepads is somehow merged (but not well).

How can Mi.exe be changed so it does not conflict with other gamepads emulating an xbox 360 gamepad?

Turn off rumble

Is there a possibility to start the application with a parameter to turn off the rumble function?

Analog delay

I, have a very important delay with the analogs, so it's difficult to use it ingame.... Testing with xbox360ce there's no delay... but it shows ingame and it's impossible to play

I'm ussing Windows 10 AU

Any solution? Cheers

how to install it?

hi.there ,
there are two files, the xiaomi controller to 360
and another one, what i need to.do with the other one?
where to.put the files?
thanks
tom

Problems with rumble(force feedback)!!!!!!

It started 4 days ago.Every time when gamepad rumbles (during shooting or crashing a car) in any game it turns off and has to be turned on again. So basically, I have to restart the game after every time gamepad rumbles. I tried reinstalling the drivers but it didn't solve anything.Any advice?

latest version

how to install the latest version of your software with the interface for Windows?

Right analog problem

My right analog is not responding. Everything else work fine, but i cant fix this problem.
xiaomi

System no response

After I run the mi.exe(of couse I have installed scp driver),then I have to force reboot my pc.

Figure out a way to send data using the output endpoint to the controller on Windows.

Right now the rumble is sent to the controller using the control pipe which is bad because the controller can't send anything while this happens leading to lag and delays on some machines.

Rumble data can be sent using the output endpoint and the controller will recognize it (tested on linux) but it doesn't expose this in its HID descriptors so trying to send it with the normal HID windows functions fails.

Possibly related is finding a way to send data not described in the HID descriptor on windows through the control pipe in order to enable the accelerometer.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.