Need help to create an windows mobile application with a few buttons that when they are pressed/clicked they assign keys, like up, down, left, right.
It is just like to create a "virtual d-pad", or "software emulated d-pad".
I'm newbie in programming, and I'm using Visual Studio 2008.
Some one can help me with that?
Tanks.
My effort for it only result in this simple code lines:
It is just like to create a "virtual d-pad", or "software emulated d-pad".
I'm newbie in programming, and I'm using Visual Studio 2008.
Some one can help me with that?
Tanks.
My effort for it only result in this simple code lines:
Code:
Public Class Form1 Private Sub ExitButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ExitButton.Click 'Bye! Application.Exit() End Sub Private Sub UpButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles UpButton.Click 'Up [I] *****my tries: System.Windows.Forms.SendKeys.Send("{UP}") \\\\\\\\\ LeftButton_Click(Keys.Down, Keys.Down) *******[/I] End Sub Private Sub LeftButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LeftButton.Click 'Left End Sub Private Sub DownButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DownButton.Click 'Down End Sub Private Sub RightButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RightButton.Click 'Right End Sub End Class
Comment