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

Urgent: Keyboard events need to be confirmed to be emulated properly! #26

Open
jawaff opened this issue Nov 23, 2015 · 4 comments
Open

Comments

@jawaff
Copy link
Owner

jawaff commented Nov 23, 2015

I've kind of witnessed this already. Essentially when the KinectController emulates keyboard events, only some programs will actually accept the event and process it. This is because Windows sends these events to applications and it's completely up to these applications whether they want to accept that input or not.

This potentially is going to bring rise to a list of unsupported applications. The KinectController is going to suffer a fatal blow when the users find out that they can't use it to play their favorite video game. All we can really do is try to do what we can with the bad applications -- which might include skyrim -- and try to attain the maximum level of support possible.

@jawaff
Copy link
Owner Author

jawaff commented Nov 23, 2015

Here are some links I found after doing some research:

//Explains our potential problem where some games might not be able to be supported.
http://stackoverflow.com/questions/8782648/how-to-send-keys-to-a-minimized-window-in-c

//Emulating a gamepad
//Skyrim ignored the key events the KinectController sends. So maybe emulating a gamepad would be
//a nice work around? Games also handle mouse input differently sometimes. So an emulated gamepad //might make for a more consistent approach.
http://stackoverflow.com/questions/20429279/java-how-to-emulate-a-xinput-gamepad-controller

@jawaff
Copy link
Owner Author

jawaff commented Nov 23, 2015

Maybe that gamepad project on github sends key events to applications in a fancy way that gets past the problem I'm having? :o

@jawaff
Copy link
Owner Author

jawaff commented Dec 24, 2015

My previous comment didn't supply a link to the github project. Here it is: https://github.com/x360ce/x360ce

@jawaff
Copy link
Owner Author

jawaff commented Dec 24, 2015

Issue #32 mentions -- in the later comments -- something about the config.jj needing more premade Java classes in order to make the KinectController's configuration system much stronger.

I think I will be focusing on the configuration system before moving onto the gamepad emulation though. It will have a bunch of benefits to the rest of the program. The config.jj generates a bunch of classes that configure a lot of things in the program and it doesn't have many supporting classes at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant