[Q] SOFT-TOUCH Gamepad Buttons with Honeycomb 3.1, any dev ? - Eee Pad Transformer General

i never coded for android before, so i thought it's best to get into this forum here.
i just coded some homescreen stuff like quick wlan on/off for win mobile 6.1 so far, directx9, c++, and several scripting languages.
the IDEA i got is the following:
you are playing a flash game, but on a tablet with android 3+ you ain't got no arrow buttons or other buttons to play these games. so you can't play them or only play games that rely on left mouse click buttons or got their own soft touch gamepad in-game.
so all you need, is a configurable SOFT TOUCH GAMEPAD BUTTONS app that stays in front of all applicationsif you enable it in the taskbar.
fire up a browser flash game and enable the softtouch gamepad via taskbar.
on the left you got a 4way-arrow-key interface (looks half transparent like a 4-way gamepad buttons), on the right you got 2 or 3 soft touch buttons (also half transparent white).
settings for this app are complete keyboard bindings to all keys (4-way digi buttons left screen, 2 or 3 action buttons on the right).
v2:
second version of this app would include real usb gamepads to be used (onscreen soft touch gamepad display off), and i saw that android 3.1 has some useful classes and pointers for usb gamepads and joysticks.
"To support joysticks and gamepads, the InputDevice class includes these new input device sources:
•SOURCE_CLASS_JOYSTICK — the source device has joystick axes.
•SOURCE_CLASS_BUTTON — the source device has buttons or keys.
•SOURCE_GAMEPAD — the source device has gamepad buttons such as KEYCODE_BUTTON_A or KEYCODE_BUTTON_B. Implies SOURCE_CLASS_BUTTON
•SOURCE_JOYSTICK — the source device has joystick axes. Implies SOURCE_CLASS_JOYSTICK.
To describe motion events from these new sources, as well as those from mice and trackballs, the platform now defines axis codes on MotionEvent, similar to how it defines key codes on KeyEvent. New axis codes for joysticks and game controllers include AXIS_HAT_X, AXIS_HAT_Y, AXIS_RTRIGGER, AXIS_ORIENTATION, AXIS_THROTTLE, and many others. Existing MotionEvent axes are represented by AXIS_X, AXIS_Y, AXIS_PRESSURE, AXIS_SIZE, AXIS_TOUCH_MAJOR, AXIS_TOUCH_MINOR, AXIS_TOOL_MAJOR, AXIS_TOOL_MINOR, and AXIS_ORIENTATION."
is any android dev at xda able to code this ? should be an easy thing if anyone knows android sdk.

some/if not all of the emulators for NES/etc all have an interface like your description, you could likely pull what you/anyone would need from those (for the first half)

yeah i thought so, there are several games and stuff that already do have this interface, one would just need to code a settings page so android gets specific keypresses.
as i said, i am not into android sdk, and it would take me quite a month or more to get into that and will have problems at start to code that.
if any dev is into android sdk, please help.

Related

Soft D-pad

Any programs out there that create a virtual on screen D-pad?
The lack of a hardware D-pad seems to be putting off a lot of people.
Given that virtual keyboards have D-pad arrows on them, does anyone know of any software that produces a virtual D-pad on the screen without the keyboard. This would obviously save a lot of screen realestate and provide some added functionality.
If there is no such software, would anyone be interested in programming a utility. I have no experience with programming but can assist if given help.
Thanks
Moved to General.
Yea, I know that this thread is nearly a year old, but with the recent announcements of all the new WinMobile phones with WVGA (480x800) screens but no D-pad, I was looking for such an utility too.
Possibly something that would give the top 480x640 to the app (making it think it is running on a VGA screen), and use the bottom 480x160 for a virtual D-pad and its up/down/left/right buttons.
There are a lot of older WM apps that expect and use those hard scroll keys, and without any updates possible for them, an utility like this would come in real handy.

[Q] How to use application that need Dpad?

Hello everybody,
Today, I have HTC Wizard with a lot of hardware keys . I like the blackstone but I'm affraid to see that there is no hardware keys (no Dpad). I use applications that work only with Dpad (no touchscreen functions).
Have you solution to have software direction pad when applications run (Like the soft direction keys on the virtual keyboard)?
The standard SIPs provided by HTC all have "virtual" arrow keys. Most apps will work fine with these, provided that they play nice when the SIP keyboard is enabled.
Also, I'm sure D-pad specific SIPs will appear soon, and I'm hoping for a virtual D-pad solution + WVGAFIX3 combo. The 160 rows of leftover pixels when in 480x640 mode would be just great for 4-directional buttons and and action/Enter key.
However, I've had the HD for a couple of weeks, and I can honestly say that I don't miss the D-pad at all. I migrated from a smartphone (HTC Vox), so I was definitely wary. I've found that most apps/games (and the WM 6.1 GUI) work fine with touch (as they well should, on WM Professional). For the really small buttons, a finger nail or stylus is needed, but I find these occasions to be rare.
The worst example I've come acroos is Opera Mini (essential on my Vox), which is practically unusable on the HD without the stylus. Then again, I don't miss Mini when I have Opera Mobile.
Would you care to elaborate a bit on the apps you need to use?
ugumba said:
Also, I'm sure D-pad specific SIPs will appear soon, and I'm hoping for a virtual D-pad solution + WVGAFIX3 combo. The 160 rows of leftover pixels when in 480x640 mode would be just great for 4-directional buttons and and action/Enter key.
Click to expand...
Click to collapse
Yes I agree and I hope too
I hesitate between the touch HD abd the Xperia X1

Gaming utility that allows changing hardware keyboard mapping and screen orientation?

Does anyone know a utility that you can run before a game, configure a key map for the game, set screen orientation and override the HTC typing function so it won't crash the phone / game?
I've found some good Touch Pro 2 compatible games but many need a D-pad or use of other hardware buttons. Others put the screen into the wrong orientation relative to the keyboard. Yet others allow use of hardware arrow keys but the directions are mixed up... If there is a utility to do this for all WM games the Pro 2 would be one of the best PPC games machines out there... Any ideas?

Great apps and games that are not yet available from the Microsoft store

Since windows 8 is quite unpopular with touch enabled apps and games and Microsoft store is quite poor for the time being, I decided to make a list of apps and games and the required optimizations for touch, where necesary.
This is also the chance to replay some brilliant oldies! As we all know 10-year old PC games easily outshine modern tablet games in both gameplay and graphics. As most of them are forgotten by the developers and will probably never be remastered for the touch screen, there is no reason why they shouldn't be enjoyed on modern tablets.
I will list older (and newer) games and apps that either work flawlessly on Windows 8 or require some easy modding to get there.
My input will be based on the VitoTab TF810C but any input is valuable and will be added to the first post.
Please share your own experiences and I will try to keep this thread up to date with any news.
UI
Obly tile - Add new shortcut tiles on your Metro UI desktop in style!
Windows 8 Start Screen Customizer - set start menu wallpaper, sync it with the desktop one, add transparency etc.
INPUT
Comfort virtual keyboard pro - decent replacement for the built in OSK allows custom layouts, keys and app triggering
Comfort Hot virtual keyboard - the same as the above but this one allows macro buttons.
Comfort Keys Pro - a mix of keyboard, macro, clipboard etc.
I added my custom keyboards below. It should be compatible with all the programs listed above, but you should fiddle with the program a little to make it work.
For a gaming setup, go to: On-screen Keyboard > Typing aid and enable key repeat.
To switch different layouts (the examples I posted have the switch key included) go to Keyboard shortcuts > Set the list of keyboards
To make a custom keyboard run with a particular app, see the "Dependencies menu in settings".
If the keyboard gets closed during intro or while the game loads: On-screen Keyboard, enable "Lock"
The program is buggy esp. when resolutions get switched.
To get it back in place, try:
On-screen Keyboard > Docking
On-screen Keyboard > Advanced > Screen border
In case it's stretched:
On-screen Keyboard > Zoom
GAMES: Atom-based tablets
GREEN: fully playable, YELLOW: fully playable, custom OSK required or mild annoyances RED: has issues but is at least partially playable.
Unstoppable Gorg - available on Steam
Monopoly 2012 - available from bigfishgames.com
Westward 1-4 - playable, you need to disable any mouse device in device manager or you will get erratic input in-game - available from bigfish.com
Need for Speed 5: Porsche - stretched in fullscreen, custom OSK
Carmageddon TDR 2000 - custom OSK, mouse is ofset in menus: start dragging from the top left corner
Neighbors from hell - 800x600 only, delete cinemaware.exe to get rid of pesky intro D-pad keyboard recommended - available from gog.com
Mafia 1 - driving only, custom OSK, needs virtual joystick/mousepad app for aiming.
Fallout tactics - requires HiRes Patch, without proper right click game pace might be too slow.
Requests:
The keyboard I found so far seems to behave quite inconsistently when resolutions are switched. It also doesn't come cheap, so if anyone knows a better one or plans to make one, please let me know!
Any virtual keyboards, joysticks, joypads, touchpads news are extremely welcome!
More to follow
Bec07 said:
Since windows 8 is quite unpopular with touch enabled apps and games and Microsoft store is quite poor for the time being, I decided to make a list of apps and games and the required optimizations for touch, where necesary.
This is also the chance to replay some brilliant oldies! As we all know 10-year old PC games easily outshine modern tablet games in both gameplay and graphics. As most of them are forgotten by the developers and will probably never be remastered for the touch screen, there is no reason why they shouldn't be enjoyed on modern tablets.
I will list older (and newer) games and apps that either work flawlessly on Windows 8 or require some easy modding to get there.
My input will be based on the VitoTab TF810C but any input is valuable and will be added to the first post.
Please share your own experiences and I will try to keep this thread up to date with any news.
UI
Obly tile - Add new shortcut tiles on your Metro UI desktop in style!
Windows 8 Start Screen Customizer - set start menu wallpaper, sync it with the desktop one, add transparency etc.
INPUT
Comfort virtual keyboard pro - decent replacement for the built in OSK allows custom layouts, keys and app triggering
Comfort Hot virtual keyboard - the same as the above but this one allows macro buttons.
Comfort Keys Pro - a mix of keyboard, macro, clipboard etc.
I added my custom keyboards below. It should be compatible with all the programs listed above, but you should fiddle with the program a little to make it work.
For a gaming setup, go to: On-screen Keyboard > Typing aid and enable key repeat.
To switch different layouts (the examples I posted have the switch key included) go to Keyboard shortcuts > Set the list of keyboards
To make a custom keyboard run with a particular app, see the "Dependencies menu in settings".
If the keyboard gets closed during intro or while the game loads: On-screen Keyboard, enable "Lock"
The program is buggy esp. when resolutions get switched.
To get it back in place, try:
On-screen Keyboard > Docking
On-screen Keyboard > Advanced > Screen border
In case it's stretched:
On-screen Keyboard > Zoom
GAMES: Atom-based tablets
GREEN: fully playable, YELLOW: fully playable, custom OSK required or mild annoyances RED: has issues but is at least partially playable.
Unstoppable Gorg - available on Steam
Monopoly 2012 - available from bigfishgames.com
Westward 1-4 - playable, you need to disable any mouse device in device manager or you will get erratic input in-game - available from bigfish.com
Need for Speed 5: Porsche - stretched in fullscreen, custom OSK
Carmageddon TDR 2000 - custom OSK, mouse is ofset in menus: start dragging from the top left corner
Neighbors from hell - 800x600 only, delete cinemaware.exe to get rid of pesky intro D-pad keyboard recommended - available from gog.com
Mafia 1 - driving only, custom OSK, needs virtual joystick/mousepad app for aiming.
Fallout tactics - requires HiRes Patch, without proper right click game pace might be too slow.
Requests:
The keyboard I found so far seems to behave quite inconsistently when resolutions are switched. It also doesn't come cheap, so if anyone knows a better one or plans to make one, please let me know!
Any virtual keyboards, joysticks, joypads, touchpads news are extremely welcome!
More to follow
Click to expand...
Click to collapse
can you tell me what all games i can play on my netbook running win8 pro with 2gigs of ram?
TouchPal is also a nice keyboard app worth trying for Win8

How to enable stylus pointer in on-hover event?

I have Uggos X4Q tv box with Android 11 and Deco LW pen tablet connected by USB to it. When I move stylus over any menu items, I can see changes of this items (lighting), but no pointer cursor. Cursor visible only when I touch pen to tablet. In some apps I can configure displaying pointer when stylus in sensor range of tablet but not touching it (hover event, I think). But it work only inside app. How to change behavior of stylus pointer across OS? I would like to make stylus pointer behavior like classic mouse pointer. May be exist some OS settings to force it. I have a root rights in OS. Or may be exist easiest way to do this by writing app or driver for it? I mean, simple logic in selected API methods, etc.
Please, help.

Categories

Resources