Ryochan7 / DS4Windows

Like those other ds4tools, but sexier
https://ryochan7.github.io/ds4windows-site/
GNU General Public License v3.0
6.95k stars 808 forks source link

[Feature Request] On Screen Keyboard #353

Open Ryochan7 opened 6 years ago

Ryochan7 commented 6 years ago

As partially discussed in issue #320, it would be nice to have some type of on screen keyboard that can be controlled with the DS4. Using the topmost routine found in Touchmote would allow an overlay window to be made for placing a semi-transparent keyboard over a game window even in exclusive fullscreen mode. I think the most common use cases would be for typing out game save names or character names.

This issue mainly serves as a placeholder to put on the work board.

Corrodias commented 6 years ago

Please make any hooking of the render surface optional. The Dark Souls games have an aggressive cheat detection that is famously intolerant of overlays and modifications, though the developers won't explain exactly what it's looking for. DS4Windows does not trip it, as-is, because it doesn't interact directly with the game.

tremendoza commented 5 years ago

I currently use autohotkey to manipulate the windows touch keyboard. See for yourselves. https://www.youtube.com/watch?v=XCKTgesO1bs Something like this would be cool I think.

Daltz333 commented 5 years ago

I don't know how compatible this is on Windows 7. But what about prompting the built in Windows keyboard?

jogerj commented 5 years ago

I've been using Steam's on screen keyboard, mainly as it supports most titles out of the box. It's not the best typing experience but it suffices for typing text when prompted.

Ryochan7 commented 4 years ago

Got around to playing with the overlay problem last night. I think that I got as far as possible without doing some type of hooking. Doing an overlay with the Topmost technique is fairly limited but it does work in a lot of games. Some of the testing has also led to improving the Touchmote OSD to work in more cases; one prominent case is Beyond Good and Evil.

A couple of games that it won't work in, when using Fullscreen mode, is Doom 3 BFG and Space Hulk: Deathwing. Deathwing has a borderless window mode so using that mode would be required to render an overlay over the game. Doom 3 BFG is just weird in general since Alt+Tab does not switch to other windows but it does change focus. Alt+Tab allows the overlay to render but a mouse click is required to regain focus and the switch is obvious.

I will definitely have to put up some example code this time around. I don't want to have to try to figure this out yet again. It took a long time to get as far as I did last time with Might and Magic 8. The current version works better than what I had tried before. Although I am not sure how much my current configuration is influencing the behavior.

Ryochan7 commented 4 years ago

Autistic video time. Simple overlay demo in Dark Messiah of Might and Magic.

https://www.youtube.com/watch?v=k06qDdTtKfU

Hexality commented 3 years ago

Any plans on actually bringing it?

Ryochan7 commented 3 years ago

I have not played with any overlay experiments since the Dark Messiah video. Man that was a long time ago. I think I have the old source code on GitHub but I am not even sure anymore.