Jump to content

Extra 'Buttons' on Touch Screen


60 Hertz Jig

Recommended Posts

When the mouse mode is enabled, it sends X,Y coordinates to the host computer wherever it's being touched. This got me thinking, what if there was another mode where buttons are displayed on the screen that could simulate extra buttons? For example, on an n64 controller, there's the 4 C buttons that cannot really be controlled at the moment. If there was four buttons displayed on the touch screen, you could press the button as if a real button had been pressed.

 

Let's say an area from 0,0 to 85,96 represents button 'C', and whenever that area is pressed, button 12 [set in the config file] is sent to the computer. The user could reconfigure the PPJoy program to read more buttons, and the possibiliies could be endless.

 

I'm not quite sure how difficult that would be to program, but it would be incredibly awesome. I've included a mock-up photo of the touch screen to show what I'm talking about. Even if you disregard this entirely, thanks for taking the time to read it!

 

touchscreenmockupsm0.jpg

Link to comment
Share on other sites

When the mouse mode is enabled, it sends X,Y coordinates to the host computer wherever it's being touched. This got me thinking, what if there was another mode where buttons are displayed on the screen that could simulate extra buttons? For example, on an n64 controller, there's the 4 C buttons that cannot really be controlled at the moment. If there was four buttons displayed on the touch screen, you could press the button as if a real button had been pressed.

 

Let's say an area from 0,0 to 85,96 represents button 'C', and whenever that area is pressed, button 12 [set in the config file] is sent to the computer. The user could reconfigure the PPJoy program to read more buttons, and the possibiliies could be endless.

 

I'm not quite sure how difficult that would be to program, but it would be incredibly awesome. I've included a mock-up photo of the touch screen to show what I'm talking about. Even if you disregard this entirely, thanks for taking the time to read it!

 

touchscreenmockupsm0.jpg

 

There is a set of buttons already 4rows by 3 columns (not shown currently though) that react depending on your configuration . They don't send gamepad buttons, but I could look into it, it shouldn't be too hard to change. Also I'll see about making the positions configurable.

Link to comment
Share on other sites

When the mouse mode is enabled, it sends X,Y coordinates to the host computer wherever it's being touched. This got me thinking, what if there was another mode where buttons are displayed on the screen that could simulate extra buttons? For example, on an n64 controller, there's the 4 C buttons that cannot really be controlled at the moment. If there was four buttons displayed on the touch screen, you could press the button as if a real button had been pressed.

 

Let's say an area from 0,0 to 85,96 represents button 'C', and whenever that area is pressed, button 12 [set in the config file] is sent to the computer. The user could reconfigure the PPJoy program to read more buttons, and the possibiliies could be endless.

 

I'm not quite sure how difficult that would be to program, but it would be incredibly awesome. I've included a mock-up photo of the touch screen to show what I'm talking about. Even if you disregard this entirely, thanks for taking the time to read it!

 

touchscreenmockupsm0.jpg

 

There is a set of buttons already 4rows by 3 columns (not shown currently though) that react depending on your configuration . They don't send gamepad buttons, but I could look into it, it shouldn't be too hard to change. Also I'll see about making the positions configurable.

 

Oh, cool. Are those the button0-button11 in the config files? I think I remember seeing those somewhere..

 

If it's not too hard to change, I think it would make a great addition to the program.

Link to comment
Share on other sites

This is a fantastic idea, I found myself here looking for the source code 'cause I thought I might be able to implement it myself (is there source-code somewhere for DS2Key?) but it'd be oh so much better if sypherce could put it in the actual program.

 

What you suggest is a great starting point, but what if there was functionality where the pc server could upload a picture to the ds showing a user-customzied button display - and what if you uploaded another image along with that which defines a 'clickable' area for each button, ie black could represent somewhere you can't click, blue could be button1, red for button2, etc - a whole custom interface.

 

This would just be so awesome for almost anything on PC - ie playing an fps game with a mouse/keyboard etc but selecting weapons/spells/etc from little pictures on your DS, or perhaps just a custom media-centre remote control - not to mention just making extra gamepad buttons.

 

I'm sure anyone who can use mspaint could set this up. Of course it'd be a whole 'nother story programming it.

 

What dya think?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...