Hello folks!
I'm currently working on a program. Thought I should make a little video about it and share it with you guys. Hoping for some inputs and stuff on how to improve this program.
Sorry for the bad English. I'm not used to record my voice, and I did this on the first try. (The video will be deleted/updated in a few days)
C++ with SDL and OpenGL
I will use this thread to update my progress if anyone shows interest.
Additional info about the program:
The window is borderless. You drag the window by dragging the actual window.
It's borderless because if you are going have the window on top of your game, borders will only be in the way.
The window is always on top, so you can have your game activated while the program lays on top of it.
Rihgt-click on the window, and there will be an exit/cancel menu.
Pixel art:
NES controller:
SNES controller:
N64 controller:
GameCube controller:
Playstation controller:
XBox controller:
Virtual Controller Dispaly
Moderator: PC Supremacists
- superLED
- Chaos Rift Junior
- Posts: 303
- Joined: Sun Nov 21, 2010 10:56 am
- Current Project: Engine
- Favorite Gaming Platforms: N64
- Programming Language of Choice: C++, PHP
- Location: Norway
Virtual Controller Dispaly
Last edited by superLED on Thu Jan 10, 2013 10:22 am, edited 11 times in total.
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Virtual Controller Dispaly
Wow, that is actually very useful! Awesome to be able to see button presses while someone is playing. I'm thinking this would be extremely useful for guitar hero if anyone played it anymore.. lol.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- superLED
- Chaos Rift Junior
- Posts: 303
- Joined: Sun Nov 21, 2010 10:56 am
- Current Project: Engine
- Favorite Gaming Platforms: N64
- Programming Language of Choice: C++, PHP
- Location: Norway
Re: Virtual Controller Dispaly
Thanks for the reply!dandymcgee wrote:Wow, that is actually very useful! Awesome to be able to see button presses while someone is playing. I'm thinking this would be extremely useful for guitar hero if anyone played it anymore.. lol.
The program only reads controllers that's hooked up to the PC via USB. I don't know if there's any Guitar Hero 'controllers' for the PC.
It's mainly targeting Emulator players. I don't know if it's possible to read input from a controller that is hooked up to a console.
- dandymcgee
- ES Beta Backer
- Posts: 4709
- Joined: Tue Apr 29, 2008 3:24 pm
- Current Project: https://github.com/dbechrd/RicoTech
- Favorite Gaming Platforms: NES, Sega Genesis, PS2, PC
- Programming Language of Choice: C
- Location: San Francisco
- Contact:
Re: Virtual Controller Dispaly
Well if it wasn't the console wouldn't be very useful.superLED wrote:I don't know if it's possible to read input from a controller that is hooked up to a console.
Probably not possible in the context of your tool set.
Falco Girgis wrote:It is imperative that I can broadcast my narcissistic commit strings to the Twitter! Tweet Tweet, bitches!
- superLED
- Chaos Rift Junior
- Posts: 303
- Joined: Sun Nov 21, 2010 10:56 am
- Current Project: Engine
- Favorite Gaming Platforms: N64
- Programming Language of Choice: C++, PHP
- Location: Norway
Re: Virtual Controller Dispaly
Update:
I made this N64 controller:
(The Z button is below the joystick, because it is originally on the back of the controller)
I have assigned all the buttons, and it works perfectly. But I gotta work on the joystick a little.. adding precise movement. Now it just goes 100% at the direction you are aiming.
I made this N64 controller:
(The Z button is below the joystick, because it is originally on the back of the controller)
I have assigned all the buttons, and it works perfectly. But I gotta work on the joystick a little.. adding precise movement. Now it just goes 100% at the direction you are aiming.
- superLED
- Chaos Rift Junior
- Posts: 303
- Joined: Sun Nov 21, 2010 10:56 am
- Current Project: Engine
- Favorite Gaming Platforms: N64
- Programming Language of Choice: C++, PHP
- Location: Norway
Re: Virtual Controller Dispaly
I am partly done with the Playstation- and the Xbox controller. I know I'm going over this and polish it up soon.
Playstation Controller:
This will be used to all the previous Playstation controllers as well. I'm not going to make one without the joysticks
Xbox controller:
The buttons and stuff are not implemented just yet. That is a really easy task, so consider it done.
...
To prevent spamming, I'm putting the newest update in this post.
Just finished the GameCube controller:
The Z button is on the right side of the right shoulder button. Couldn't find an other solution
Now I only have to program the new controllers to work.
I don't have a GameCube controller in the house that can plug into the computer (I don't think there exists one yet). So I'll buy an adapter that makes it possible to use my GC controller on the PC.
The Playstation or XBox controller will be used to test the GC program.
Playstation Controller:
This will be used to all the previous Playstation controllers as well. I'm not going to make one without the joysticks
Xbox controller:
The buttons and stuff are not implemented just yet. That is a really easy task, so consider it done.
...
To prevent spamming, I'm putting the newest update in this post.
Just finished the GameCube controller:
The Z button is on the right side of the right shoulder button. Couldn't find an other solution
Now I only have to program the new controllers to work.
I don't have a GameCube controller in the house that can plug into the computer (I don't think there exists one yet). So I'll buy an adapter that makes it possible to use my GC controller on the PC.
The Playstation or XBox controller will be used to test the GC program.