Related
i mean, is that possible to develop a SW for ppc,
Which shows a mouse in ppcs screen, and we can use navigator key control the mouse.
That's quite easy, but would there be much point?
The program you're using would then loose use of the control pad.
An idea tho would be, say:
Record button toggles mouse (shows/hides cursor)
Joystick/pad controls mouse cursor
Contacts button sends left click
Calendar button sends context menu click.
It could work. I might play with this sometime. :wink:
V
there is a soft for virtual mouse
if u have a ppc with usb host function then u can connect ur computer's mouse to the ppc using the usb connection there is a software available for the mouse pointer here's the link
http://www.deje.gmxhome.de/download.html
u can make it someting special.
for exmaple.
in SW setting we can choose by which programme activating the mouse.
Re: there is a soft for virtual mouse
dhiraj228 said:
if u have a ppc with usb host function then u can connect ur computer's mouse to the ppc using the usb connection there is a software available for the mouse pointer here's the link
http://www.deje.gmxhome.de/download.html
Click to expand...
Click to collapse
yes i know about this.
but a virtual mouse does not mean only a tool to control the ppcpe.
it can be very helpful for one hand ppcpe operating.
sometimes we have only one free hand to use ppcpe.
Hi vijay or other developer
Any development/thought on virtual mouse - I like the idea of non stylus control of my wizard esp when in case. You could assign a button to switch on and off. You could call it VJmouse or VJrodent I would pay for this - I know that's music to your ears
Cheers
generating mouse clicks is easy enough but the drawing of the cursor in different locations would be the harder part. I have not seen cursors drawn in places other than the centre. How could that be done without drawing to the screen buffer?
One possible idea is a transparent window, say a 16 by 16. Any way I just wanted to mention that HP iPaq 4700 has a native app in its ROM that shows a mouse cursor and lets the arrow key area act as a touch pad just like on a laptop.
Guys, this is by the guy that did the FileDialogChanger, a genius in his own time:
http://www.geocities.co.jp/SiliconValley-Cupertino/2039/FakeCursorPPC.zip
Please indicate if it does or doesn't work. I don't think it would be too difficult to write a new mouse emulator, but there's no point reinventing the mouse wheel :wink:
V
Thanks vijay that's wicked
Finally true one handed operation of my pda - es
So I want have to pay you all my bucks after all!
I have tried this app and it is really good but has a couple of bugs. one is that it won't delete or backspace on the virtual keyboard, second it call and end call buttons and softkeys are immobilized when the fake cursor is operational. If it could be developed further and possibly include other pointer styles it would be an excellent app - I think marketable and some thing that should be part of the OS.
Smartphone users will be particularly interested as I am being a long trrm spv user.
cheers
wicked man... I like it
kudoos to the developer
vijay555 said:
That's quite easy, but would there be much point?
The program you're using would then loose use of the control pad.
An idea tho would be, say:
Record button toggles mouse (shows/hides cursor)
Joystick/pad controls mouse cursor
Contacts button sends left click
Calendar button sends context menu click.
It could work. I might play with this sometime. :wink:
V
Click to expand...
Click to collapse
I'd be interested in a "mouse" or "Cursor control" app.
IMHO the one thing missing from the Universal is a "clit-mouse" (the tiny joystick type thing you used to get on Laptops). I dont' think it would have been that hard to implement physically either.
vijay555 said:
Guys, this is by the guy that did the FileDialogChanger, a genius in his own time:
http://www.geocities.co.jp/SiliconValley-Cupertino/2039/FakeCursorPPC.zip
Please indicate if it does or doesn't work. I don't think it would be too difficult to write a new mouse emulator, but there's no point reinventing the mouse wheel :wink:
V
Click to expand...
Click to collapse
can someone describe exactly what this does?
Does it slow the device down at all?
(and has anyone translated the txt file in that zip???? )
Yes works qute will as a cursor / mouse you can control with d-pad. no does not slow device down and no can't translate txt but is quite self explanatory when you use. Give it a go tis cool!
Find attached for other users in case link goes down
I have added mouse cursor just place in same directory as fake cursor.exe and you will have typical mouse pointer.
meschle said:
Yes works qute will as a cursor / mouse you can control with d-pad. no does not slow device down and no can't translate txt but is quite self explanatory when you use. Give it a go tis cool!
Find attached for other users in case link goes down
Click to expand...
Click to collapse
I assume the .exe in the zip is for installing over Activesync? Or is it run on the PPC itself?
Run on ppc itself - i stuck it in \program files\
custom cursor
If it could be developed further and possibly include other pointer styles it would be an excellent app - I think marketable and some thing that should be part of the OS.
Click to expand...
Click to collapse
Just put any 16 color win95 cursor file in the same directory as FakeCursor.
a program called GoldIcon creates cursors that are compatible with FakeCursor.
I love this app, I have a top soft key dedicated to this so I can activate/deactivate it at any time.
there is no installation; the EXE can be located anywhere on the device and creates 2 lnk files in windows/startmenu/programs when run:
FakeCursor.lnk (toggle on and off) and FakeCursor Settings.lnk
Doesn't seem to be anything FAKE about it. It's a real Dpad mouse!
Thanks for the tip - do you have any you could post particularly mouse style pointer.
thanks
can you use XP mouse pointers, I havent seen a win95 machine for years.... or if you have one around would be great if you could simply post a few.
Hi,
I was looking for info about linux ports of the htc vox (found nothing, do you know if there's anyone trying it already?) I got myself booting linux on my vox using simply haret and the linux image from the linwizard project... oh, the keypad works too, but keys are completely wrong mapped, and some simply dump error. but you get to the login screen and doesn't get stucked at all
It would be really really nice to get linux working fully on this phone... until then, here is the photo!
Excellent work. Would you mind posting some more information on how you were able to boot the kernel from haReT?
Hi!
Go here: http://sourceforge.net/project/showfiles.php?group_id=174107&package_id=199577
And download the file linwizard-0.1.0-r1.tar. Decompress that file into \Storage Card, and then decompress the initrd.bz2 file into the same folder (the initrd is in the Tar file too). Run haret from the same directory and after hitting "run", you will be booting a 7mb linux image. Oh! forgot to say, you have USB Ethernet too, so you can play a little bit more
Your SD card partition is detected, so why do you run off the ramdisk ?
Simply because I got the file directly from sourceforge and I didn't touch anything (yet), but as soon as I can I'll try to make something (I guess with gpe) after remapping the keyboard...
By now, X window works too, and even with the keypad mappings wrong, if you write "fooz" and press J (J is the Enter key) twice, you will get to the shell, there you may launch X window system.
Good work from the linux wizard project!
Android?
This leads to the answer...
Could we dream about booting Android on the VOX, using a custom kernel?
We can dream. It's a linux kernel, so licensing rules apply and it will be completely open source. Problem is, finding somebody willing to hack on it long enough to make it useable.
Excellent work, finally something new and exciting.
About Android... too soon for that. I'm more concerned by now of building a root filesystem with a graphic environment with more than a simple xterm, find information or some source for a kernel driver for the wifi (tnetw1251), another one for the TI 6300 Bluetooth controller, clean the kernel patches I've found, and build the gsm module (omap 850 and 730 cpus are pretty much the same except for the RF -850 has edge, 730 hasn't).
There's lots and lots of work to do before even trying to make Android show a bootscreen in my opinion...
Any help would be appreciated. By now, I have the kernel source, the patches for the omap 850, a root filesystem I didn't have time to try (it should work more or less) yet, the gsm kernel module source, and a bit of documentation. But I'm missing lot's of things (like a real good gpio dump wich my haret doesn't want to do), more info about the other hardware on the HTC... lots and lots of things...
Gpe Working out of the box too!
Hi, just wanted to say... Gpe is running! Well, sort of.. it hangs up a bit, keys still don't work, gsm doesn't work, I think sound doesn't work either...but hey, it's better than nothing, isn't it?
anyone knows how to remap keyboard??? if we get that working we got a shot ot this...
and anyone got usb ethernet working? i got vista and its asking for driver "ethernet handheld"
startx works too...
the acx100 project might have some infoez for patching together a 1251 driver.
@thor202ro
I do know, more or less, how to remap the keyboard, but I don't know wich keys are connected where, that's what we have to find out!
And from the usb networking, it works from linux. With the IP stored in the default.txt file, I got ssh'd onto the htc at first try. I would recommend you use linux for these things, not windows. And if you use windows, I would recommend you to use XP not vista, before you do any other thing...
you can download an easy to use livesystem from http://www.ubuntu.com
i got linux on my laptop no problem...
as for the keys we need something like "showkey"
Explanation
showkey - Examine the scancodes and keycodes sent by the keyboard. Options are -s (show scancodes) -k (show keycodes, default) -m (show keymap). This program outputs key values that the user presses on the keyboard. The program terminates when no keys are pressed for 10 seconds.
o and if you what to restart to wm without removing the bat "reboot" does the job
First, sorry for my english, wich is not as good as I'd want...
Yes, that's more or less what I think, but in a different way. I think the problem is in the kernel. See, this kernel is designed for a HTC Wizard. And this PDA has a quite different keyboard mapping, so some keys are missing in the layout, some do nothing, and some dump a kernel message, and I think what I must change is in here:
linux-2.6.16.27/arch/arm/mach-omap1/board-htcwizard.c
+ KEY(0,0,KEY_RECORD),
+ KEY(0,1,KEY_CAMERA),
+ KEY(0,2,KEY_PHONE),
+ KEY(0,3,KEY_VOLUMEUP),
+ KEY(0,4,KEY_F2),
+ KEY(0,5,KEY_MAIL),
+ KEY(0,6,KEY_DIRECTORY),
+ KEY(1,0,KEY_MENU),
+ KEY(1,1,KEY_COMMA),
+ KEY(1,2,KEY_M),
+ KEY(1,3,KEY_K),
+ KEY(1,4,KEY_OK),
+ KEY(1,5,KEY_I),
+ KEY(1,6,KEY_U),
+ KEY(2,0,KEY_RED), // FIX ME
+ KEY(2,1,KEY_TAB),
+ KEY(2,2,KEY_N),
+ KEY(2,3,KEY_J),
+ KEY(2,4,KEY_ENTER),
+ KEY(2,5,KEY_H),
+ KEY(2,6,KEY_Z),
+ KEY(3,0,KEY_SPACE),
+ KEY(3,1,KEY_L),
+ KEY(3,2,KEY_B),
+ KEY(3,3,KEY_V),
I think this is completely wrong... at least for my phone. But, my haret doesn't deal too well with it (maybe it's because of the cooked rom), and it looses connection once a while, and cannot get to debug where the keys are...
Workin' on it!
and how are going to edit those ... those dont look linke key codes at all... there got to be an config file somewhere...
There's the problem. And with that, the other problem:
Welcome, this is HaRET 0.5.1 running on WindowsCE v5.2
Minimal virtual address: 00010000, maximal virtual address: 7FFFFFFF
Detected machine Generic TI OMAP/OMAP850 (Plat='SmartPhone' OEM='HTC_S710')
CPU is ARM ARM arch 5TEJ stepping 3 running in system mode
Enter 'HELP' for a short command summary.
HaRET(1)# dump gpio
line 1: No dumper gpio available, see HELP DUMP for a list
So, it doesn't work. Tried with versions 0.5.0 and 0.5.1. Didn't find anything newer than that, and I don't know how to do it in another way...any ideas?
you can try watch GPIOS 10
and look here for haret builds http://www.handhelds.org/~koconnor/haret/
it seems like dump gpio is not present in curent builds anymore...
i cant get ssh to connect it asks for password i tryed passwd to se password didnt help....
There's no password on that build, just use root as the username, press enter when asked for the passowrd, you're in.
~ $ cat proc/bus/input/handlers [J
N: Number=0 Name=kbd
N: Number=1 Name=mousedev Minor=32
~ $
~ $ cat proc/bus/input/handlers [J d[16D
~ $ cat proc/bus/input/devices [J
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="omap-keypad"
P: Phys=
S: Sysfs=/class/input/input0
H: Handlers=kbd
B: EV=3
B: KEY=6400 1 0 0 0 0 84100000 280 8400800 c0000 0 1e0ff07f d3ffc000
i think he uses kbd to map keys
but thers a bigger problem how do we make the sistem rw.... not just read only?
Hello, this is my first Post in this Forum.
I recently got a HTC Touch Pro and installed Morphgear and PocketGBA.
Now i have a Problem with assigning the keys propery..
I would like to use the Keyboard (W,A,S,D) for the directional pad (Up, Down, Left, Right).
But every key gets the same Keycode, in morphgear it is 229 and in PocketGBA its 00E5.
Now when i press a key in a game, every command (Up,Down,Left,Right) gets done at the same time.
Both emulatores worked fine with the Keyboard of the Tytn II.
I already searched in different Forums, Google etc. but could not get any answer.
It would be cool if anyone could help me with that.
Greetz!
Edit (Seems to be the same Problem here):
http://forum.xda-developers.com/showthread.php?t=423444
Face buttons/controller?
Hello,
Sorry to not have an answer for you but I am also considering this phone. I have a tilt and can't do without morphgear (which works fine for me using the buttons on the face of the phone).
I have a question for you: are you unable to use the controls on the face of the touch pro with morphgear? Or do you simply prefer the keyboard as a controller.
Any information on this is much appreciated...
Thanks!
I wrote a small application for Raphael which made it possible to map the following buttons in emulators (e.g. PocketSNES, Morphgear...etc) and some games possibly:
A, S, X, Z, 1, 2, -, =, backspace, enter, left, right, up and down.
Usage:
1. Download the cab and install.
2. Start Menu -> Programs -> Games -> Run "K for Raphael."
3. Launch any emulator and you can set the buttons mentioned above to keys in game.
Please note that this is just a workaround, as you can see the key code catched by the target application is not the actual key code of the hardware button. So, please remember to close this application when you no longer need it.
If you need more keys to be in the white list, please let me know.
I hope HTC can pay more attention to this problem. Nothing's more shameful than paying $800 for a full QWERTY device just for text messaging and web browsing.
Is it possible to have the keys send the code they are supposed to send? I'd like to run some dos games on some dosbox clone, but if they don't get proper keypresses it's useless?
hi there, im got an HTC touch pro too, but i downloaded PocketGBA and i cant install it, when i try to install it, it says installation was unsuccesfull... i dont understand why...
a frind got a HTC touch and it works with his phone..
why is that??
and sry for my english..!!!
thx
I am using MorphGear and it is really good. Especially now when we can use the keyboard!
marios96 said:
I am using MorphGear and it is really good. Especially now when we can use the keyboard!
Click to expand...
Click to collapse
coul u put the link please or pm me please.. i dowloaded one, but seems its broke..
dilta said:
I wrote a small application for Raphael which made it possible to map the following buttons in emulators (e.g. PocketSNES, Morphgear...etc) and some games possibly:
A, S, X, Z, 1, 2, -, =, backspace, enter, left, right, up and down.
Usage:
1. Download the cab and install.
2. Start Menu -> Programs -> Games -> Run "K for Raphael."
3. Launch any emulator and you can set the buttons mentioned above to keys in game.
Please note that this is just a workaround, as you can see the key code catched by the target application is not the actual key code of the hardware button. So, please remember to close this application when you no longer need it.
If you need more keys to be in the white list, please let me know.
I hope HTC can pay more attention to this problem. Nothing's more shameful than paying $800 for a full QWERTY device just for text messaging and web browsing.
Click to expand...
Click to collapse
Great could you make a fit for azerty TP ?
dilta said:
I wrote a small application for Raphael which made it possible to map the following buttons in emulators (e.g. PocketSNES, Morphgear...etc) and some games possibly:
A, S, X, Z, 1, 2, -, =, backspace, enter, left, right, up and down.
I hope HTC can pay more attention to this problem. Nothing's more shameful than paying $800 for a full QWERTY device just for text messaging and web browsing.
Click to expand...
Click to collapse
Just question, when I click on " TF3D Toogle " but got a error message " cannot toggle TF3D plug-in "... Did I missing something?
rayho said:
Just question, when I click on " TF3D Toogle " but got a error message " cannot toggle TF3D plug-in "... Did I missing something?
Click to expand...
Click to collapse
I forgot to mention that you don't need to toggle TF3D to enable the keyboard mapping function.
Please ignore the TouchFLO 3D Toggle button. Thanks to the fact that TF3D almost consumes no CPU time when it's in the background. After some tests, I found the toggle nearly useless.
BTW... I'll try to spend some time dealing with the key code problem this weekend. I myself also got some games to play with DOS emulators. sigh...
cool, if you manage to get it working for all the keys, ill might donate a small amount if you give us your paypal, and maybe even some other people?
With the workaround listed above, what's the maximum number of action buttons you can currently have - besides the directional buttons on the keyboard?
Also - if you use that workaround, can you perform diagonal motion by hitting two buttons at once?
A, S, X, Z, 1, 2, -, =, backspace, enter, left, right, up and down
That is a total of 10 action buttons and 4 directional!
marios96 said:
A, S, X, Z, 1, 2, -, =, backspace, enter, left, right, up and down
That is a total of 10 action buttons and 4 directional!
Click to expand...
Click to collapse
Thanks for clearing that up - that's awesome. I thought that portion of the post meant that the letter buttons REPLACED the 4 directional buttons. So I thought there might only be the 4 directional buttons and 2 action buttons.
What about diagonals - or pressing 2 buttons at once? Can the Raphael handle it?
P0ll0L0c0 said:
Thanks for clearing that up - that's awesome. I thought that portion of the post meant that the letter buttons REPLACED the 4 directional buttons. So I thought there might only be the 4 directional buttons and 2 action buttons.
What about diagonals - or pressing 2 buttons at once? Can the Raphael handle it?
Click to expand...
Click to collapse
YES! Emulating games on TP is awsome! Every game I tried worked great with MorphGear...
Hey guys . I didn't want to start another topic. As long as you talking about emus, i got a question about them. Can you recomend me best emus for Snes, Genesis, Nes, GBA, SEGA MasterSystem and SCUMMVM (lucas arts old point & click games) From what i understand there are diferent emus on the net , please tell me what is the best one. Aso does Sega Cd works thrue some Genesis emus
Thanks in advance
tokitad said:
Hey guys . I didn't want to start another topic. As long as you talking about emus, i got a question about them. Can you recomend me best emus for Snes, Genesis, Nes, GBA, SEGA MasterSystem and SCUMMVM (lucas arts old point & click games) From what i understand there are diferent emus on the net , please tell me what is the best one. Aso does Sega Cd works thrue some Genesis emus
Thanks in advance
Click to expand...
Click to collapse
In fact would be a great idea
guys , anyone?
just download a bunch and test them for yourself, or try and use the search function before asking
KforTouchPro is released
I figured out the way to let you map keys to their correct key codes. The problem lies in the built-in M5 IME, which intercepts virtual key codes sent by the OS without proper handling.
This release of KforTouchPro simply allows you to switch between M5 and your system default IME as the "preloaded IME" at run time.
Instructions:
1. Download & install the CAB.
2. To play emulators/games, click on the "Disable M5 IME" button of KforTP.
Unlike KforRaphael, you may close KforTP after disabling M5.
Congratulations, your hardware keyboard now talks directly to the M$ IME in correct key codes.
3. When you want your M5 functions back (auto-completion/auto-corrections), just click on the "Enable M5 IME" button. No soft reset is needed.
Afterall, I still didn't feel so good for the need to switch between two modes: gaming & typing. Maybe M5 & HTC should be responsible for this.
BTW.. I just put a relay IME between your current preloaded IME and the M$ default IME. Thus, it should be working even if the bundled IME is not M5.
Reminder: Don't forget to backup your device before giving it a try.
Updated GMT+8 6:41 PM: I am sorry for causing system crash for some users. The attachment was temporarily removed. Now I only get positive confirmation from traditional Chinese devices. I'll try to figure out the reason causing the crashes.
Hello Guys,
as I developed my SciLor's WiMoBlue for my very own HD2, I want also post it here
SciLor's WiMoBlue is an Application that allows to control a Windows Mobile Phone with another one. In my case my new HD2 with my old Kaiser. Playing FpseCE and Morphgear gets real fun Also you can use the "old" phone as hardware keyboard.
Download/Videos/Info available here:
www.scilor.com/wimoblue.html
PS: Please take a look at my WiMoBlue Bug Report section to give through any working Device combi! (Direct link on the right side of the video in red)
Looks pretty cool SciLor! Thanks a lot. And looks like it's time to get my fuze back Ready to see if this will work on my TP2.
genius, insane but genius
I'll give it a go tomorrow, I wonder if I could get my HD2 to stick to the front of my Advantage
fards said:
I wonder if I could get my HD2 to stick to the front of my Advantage
Click to expand...
Click to collapse
If you do so, make a Photo xD
Release of v3: www.scilor.com/wimoblue.html
Pre-Alpha v3(2010-02-23)
-Enhancement: Show Connection Status of the Server
-Enhancement: Controller disables the "Disconnect" Button. You can activate it by touching the form anywhere.
-Enhancement: "Gaming"-Hack for Hardware-Keyboards, that allows to hold and release multiple button, intending the first button is still hold if one of them is released. (Some Keyboards only send a KeyPress Event with the Keys Information, the Releasing Events are the same)
-Enhancement: Show "Idle" Curson on while connecting.
-Readme Mistake: Should work on any WM Device
Release of v4: www.scilor.com/wimoblue.html
Pre-Alpha v4(2010-03-04)
-Feature: Experimental WM Smartphone Client added (Tested on Typhoon with WM 6.1, but should work with any Smartphone with WM5 or higher!)
Release of v0.0.1: www.scilor.com/wimoblue.html
v0.0.1(2010-03-06)
-Enhancement: Controller/Server functions now in external DLL's which are Cross-Compiled for every supported system
-Feature: Servers/Controllers for Smartphone/Touchscreen/Desktop PC
-Feature: Multiple devices can be used now (Limited to 2 for now)
-Change: Removed Server Discovery Nag screen
-Fix: No error messages on exit if no controller is connected
-Fix: All Controllers now exit on disconnect
-Fix: Used an old library for the Smartphone client, now it is the newest one
Hi, I love the idea of this program. I got it to work fine with the WinMo start screen. But can't seem to get FpseCE to work with it. Using the same two phones (kaiser+HD2) am I missing something?
Tried assigning the hardware keys for use with FpseCE but with no luck, then resorted to pressing randomly with less luck. It's connected fine, thought I might have something set up wrong with FpseCE. Any help I'd appreciate, thanks.
Try to type in a text editor. If that works, which fpsece version do you have? I use the supporter.
To asign the keys in fpsece open the controller.screen and tap/double tap on the button you want to set (Do not press on the number!) Then ibstead of the numver on top of the button should get '--'. Then press your button on tge Kaiser and it should change to a number, thats it.
I've tried all that, I use the latest supporter version with Simon Mallions theme. Perhaps changing the theme back to default will help, i've tried everything else. Works fine with writing sms and word mobile, just fpsece not registering any key presses. Thanks for the reply, I'll try it again with the default skin.
I am currently reworking it. With a udp support, plugins etc.
UDP will allow to use it with your computer without bluetooth or use it over wifi if you phones do not have bluetooth.
I am currently fighting agains problems with bluetooth streams that may delay the Video Streaming of the other device
SciLor
Here some info about the upcoming version
http://www.scilor.com/myboard/viewtopic.php?f=4&t=126
o . _
Hi SciLor,
congratulations for all your projects. They are really interesting starting from FuelBlaster to WinMoBlue. You are an "insane" genius!!
I have tried WinMoBlue on my Blackstone (controlled) and my PC (Windows Server 2003 sp2 bla bla bla .NET Framework 3.5 SP3) but doesn't run....
In this case running the PC part doesn't start nothing. In the event viewer this error: Generate Activation Context non riuscito per C:\Programmi\SciLor\SciLor's WiMoBlue Server Desktop\32feetWidcomm.dll
The server part on Blackstone starts but naturally doesn't find nothing to connect...
In reverse mode (PC controlled - HD controller) there is no way to take control too. In this case it the PC returns error about bluestack not supported.
As Bluetooth device i use a CONITECH DAKOTA Bluetooth 2.0 EDR USB Dongle Class1 based on Broadcom Widcomm driver v5.1.0.1700
Hope this can help you for future development. Keep it updated: it has many prosepctives!!!
NiceOne
Nice to know that you like my projects
I think the bluetooth driver I use does not support your dongle .
In the next version (which is under heaving developement and may come in the next weeks) I will additional support wifi, so you may try it over wifi l8er. The best thing will be, plugin support, not only keyboard input, but also mouse input. AND a video stream from the other device .
GREAT SciLor: YOU ARE GREAT!!!
I've subsribed this thread and so surely I'll test your next releases.. ;-)
NiceOne and Regards!
Any possibility of having it so you press a touchscreen button on the phone and it corresponds to a button press on the other device.
Example:
Phone has a picture of a NES Controller on it. Tapping the A button on the screen presses A on the controlled device, thus allowing it to emulate various gamepads.
I am currently recoding WiMoBlue to a Remote Controlling Software with Plugins.
Adding such an plugin will be very easy I will try to add it!
its an improvement for the touchscreen games. i'd love someone to connect a joystick or a bt keyboard
This sounds awesome, ill keep an eye on this, wifi will make it even better
It works!
Hi Scilor, I have tested it with sucess, but with a few small problems, some that I will report after more tests, and some are in the end of the reply. thank you to keep working on this project.
I've controlled my HD2 with a smartphone, the HTC S711 AKA VOX (winmo 6.1) and it works well with FpseCE, but unfortunately not yet writing messages.
Small problems:
1- Some hardware keys still works in the smartphone after connected and not in the HD2, wich was annoying becouse sometimes I've unintentionally closed the program in the smartphone.
2- the "Fn" key doesn't work.
Thank you and sorry if I wrote something wrong.
Dear all.
I have built the latest version of Mame for hacked Surface RTs.
First of all, I'm aware that this post should be on this http://forum.xda-developers.com/showthread.php?t=2092348 thread but I don't have enough posts. Perhaps someone could x-link...
There were some very basic changes to the source to enable it to build, most particularly around the lack of dinput on the Surface (keyboard and mouse still work fine nonetheless). Most of the work was building the compilation environment. Broadly:
(a) I followed the instructions at http://forum.xda-developers.com/showthread.php?t=2096820 to make a basic VS environment to cross-compile for the Surface target. Note that you will not need to go into the VS IDE for anything, the build is done entirely on the command line (but we are not ready for that just yet). Note also that I cannot remember whether had to change c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\include\crtdefs.h so that the line:
#define _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE 0
read
#define _ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE 1
but good to check nonetheless. It is, however, necessary to pull the dlls from a Surface and convert them to libs as described in that page. Also, I worked on a Windows 7 machine and that was OK (so Windows 8 for a build machine is not necessary).
(b) the most recent versions of Mame already come with options to build from Visual Studio, I followed the instructions at http://mamedev.org/tools/ - the easy way - to install mingw64-32 (this page describes building Mame using mingw - we are not doing this, we are just getting this part of the toolchain in place). I then followed the instructions at http://mamedev.org/devwiki/index.php?title=Building_MAME_using_Microsoft_Visual_Studio_compilers but the relevant configuration (for ARM cross-compilation) is: c:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\vcvarsall.bat x86_arm and not as stated on that page.
(c) Unfortunately, we can not just get the sources, patch them and make as Mame builds a number of tools in order to process various source files. These must run on the build machine (x86) and not the target machine (arm). The Mame makefile already has an option to do build these tools "make buildtools" so this must be run first to create the build tools natively. What results is not quite what is needed. Firstly, Mame builds the buildtools into a "obj/windows" folder whereas for a VS compile the tools need to be in a "obj/vwindows" folder. Secondly, it builds some tools that should be linked into the ARM executable rather than x86 compiled. This can be sorted by just copying all files in "obj/vwindows/build" to a new folder "obj/vwindows/build".
(d) As stated above, there are a couple of files that need minor patching. I have included these in the src folder in zip file linked below. These should be extracted in the same folder as the Mame source code 0.148 (which is available at http://www.mamedev.org/oldrel.html) such that it overwrites the relevant Mame sources (from Explorer you will probably have to change the default extract folder). The zip file includes the patched Mame sources so you don't need to download the sources or patch.
(e) To make the ARM executable the make recipe is as follows: "make MSVC_BUILD=1 CROSS_BUILD=1 NOWERROR=1 SUBTARGET=tiny". Note that the build does not like to operate from a folder that has a space in the path. Best to compile from "c:\surfacemame" or the like rather than "...My Documents".
To make this easier for everyone, I have prepared a batch file such that if you: (i) follow (a) and (b) above to create the build environment (mingw must be installed to "C:\mingw64-w32" and the relevant binaries should be in "C:\mingw64-w32\bin"); (ii) get and extract the Mame sources (from the zip or from mamedev.org); (iii) (if sources are downloaded from mamedev.org) patch the sources with the files in the zip "src" folder, you can then just double click go.bat (which must be in the same folder as the Mame makefile). Build takes about 20-30 mins on my machine.
The result will be a vmametiny.exe which can be copied to the surface to a folder with a "roms" folder in it with your roms. To get the mouse to work, vmametiny.exe will have to be run with the -mouse option. The easiest way to do this is (on the Surface) create a shortcut to the exe, then edit the properties of the shortcut to add " -mouse" (without quotes but with a space after vmametiny.exe).
To make this even easier, I have included the executable in the zip. To comply with the Mame licence, I have to include the patched sources as well (which is why the file is so large).
There is a catch. Try as I might I could not get the full Mame build to work - the Mame build process programatically creates a file driverlist.c which is then compiled and linked into the executable. For some reason this did not work for me (I tried a lot of different approaches). The tiny build of Mame does not fully use this process and so works. The catch is that the tiny build only supports a very limited subset of games, I have built on this substantially by editing the relevant files tiny.lst and tiny.mak to include loads of popular games but it is a slow process as the dependencies have to be worked on a game by game basis (note that some of the dependencies may not have been fully worked out so Mame could throw an error (somtimes with blank dialog boxes) so just click OK until the boxes disappear and the game runs). I will update the zip at some point so that it runs (say) the top 250 games. I would love it if someone would help with this tiny build problem...
Zip file is here ... EDIT: this version now outdated, see link later in thread
Finally, the speed of most of the games I tried was excellent (eg rtypeleo and smashruns at 100%). The big disappointment was Atari vector games that only run at 50% speed. I don't know why this is the case but perhaps someone could help with that too...
Have fun all.
BBUK
That looks great, do you have a list of compatable games and which version so i can test this?
Howdy
thereaperman said:
That looks great, do you have a list of compatable games and which version so i can test this?
Click to expand...
Click to collapse
The mame version is 0.148. The list of games is listed in src\mame\tiny.lst
Note that even though a game is listed there - and the rom is of the correct version, this version of Mame may complain that the rom is not correct. This is because there are multiple versions of the same game with different roms and I made an incorrect assumption as to how tiny.lst would work - as a result whether a correct rom will operate is a bit hit and miss.
I know, however, what's wrong and I will work on this.
BBUK said:
Howdy
The mame version is 0.148. The list of games is listed in src\mame\tiny.lst
Note that even though a game is listed there - and the rom is of the correct version, this version of Mame may complain that the rom is not correct. This is because there are multiple versions of the same game with different roms and I made an incorrect assumption as to how tiny.lst would work - as a result whether a correct rom will operate is a bit hit and miss.
I know, however, what's wrong and I will work on this.
Click to expand...
Click to collapse
Thanks I will get hold of some roms and give it a test
thanks
Thanks for your interest but I would hang fire on testing for a few hours until I have tested, packaged and uploaded a new version. I think I have solved the problem with the tiny build so I can now build the full version of Mame with the only problems I can see being:
(a) depressingly slow performance on Atari vector games (I will look at this next unless someone else volunteers); and
(b) the non-inclusion of 10 or so games from Electronic Devices and a few from Konami (the relevant CPU would not build as ARM).
(Background - the problem I was having had nothing to do with how Mame builds and everything to do with me stupidly putting a comment in the middle of a line).
A final note for someone contemplating a build, the executable will now be called vmame.exe (i.e. not vmametiny.exe as stated above), the make recipe should have SUBTARGET=mame rather than SUBTARGET=tiny and the build does not like running over multiple cores very much - just be aware of this if you are thinking of including a -jx on the make command line.
Rgds
Hi all.
Updated version now uploaded - this is now the full version of Mame. I have not tested it much but seems to be OK.
Link: http://www.mediafire.com/download.php?di5nm1zdhydld2c Edit: I had better performance from the version linked below but I have left this here in case anyone wold rather run Mame 0.148 rather than 0.145.
Enjoy - I would be grateful for any feedback on how well this works for you.
very good.all gamesI play get full fps.and its interesting to play 1944x by mouse.I tried the onscreen joystick written by netham45 but it doesnt work.
windowsrtc said:
very good.all gamesI play get full fps.and its interesting to play 1944x by mouse.I tried the onscreen joystick written by netham45 but it doesnt work.
Click to expand...
Click to collapse
why is it so difficult to port xinput on mame or FBA??? it would be awsome to play with xbox 360 pad
it is just a question.
thanks
pumaa said:
why is it so difficult to port xinput on mame or FBA??? it would be awsome to play with xbox 360 pad
it is just a question.
thanks
Click to expand...
Click to collapse
I think its easy for the game developers to port xinput.but I am not a programmer so its so difficult for me.
Hi all.
I have now got an acceptable level of performance from the Atari vector games through a combination of compiler optimisations, use of an earlier version of Mame and a Mame command line switch (-mt). The attached link is now based on Mame 0.145.
I have taken this as far as I am going to now I think. I have managed to get my joystick (a Nintendo Wavebird/Arduino Leonardo combo) working with the Surface and Mame and so I have achieved all I really need to...
Link:http://www.mediafire.com/download.php?xqc3co7p0xqqbzv
Have fun
BTW: If anyone is looking to get a non-Xbox controller working with the Surface, consider presenting the device as an absolute mouse - it worked for me (both in Mame and in the Desktop). In Mame, an absolute mouse appears as a lightgun.
pumaa said:
why is it so difficult to port xinput on mame or FBA??? it would be awsome to play with xbox 360 pad
it is just a question.
thanks
Click to expand...
Click to collapse
because XInput is for .NET and MAME isnt a .NET application maybe. Probably a way of doing it but seeming as xbox controllers also work on DirectInput fine it doesnt matter.
thanks for the answer!!!
but how do you make it work, the controller 360 on surface rt???
the program doesn't reconize it!!
thanks for the good job
Hi there
pumaa said:
thanks for the answer!!!
but how do you make it work, the controller 360 on surface rt???
the program doesn't reconize it!!
thanks for the good job
Click to expand...
Click to collapse
If the joystick is recognised by the RT, I see no reason why it should not work in MAME.
Have you configured MAME to recognise the joystick? If not, read the documentation but broadly you will need to put "-joystick" or (possibly) "-lightgun" on the command line and once in MAME in the settings "Configure General Inputs", select the joystick as the analog input device (select "Player 1 controls" scroll down to "AD Stick Analog X", press enter and move the joystick left and right, do the same for "AD Stick Analog Y" - but move the joystick up and down). If that works you can do the same with the joystick buttons.
As I don't have an XBOX controller to try this with, please post back if this works for you.
BBUK
Hi thanks for the answer.
Can you be more specific. I read the instructions but in wich files do i need to write the command line.
In the default.cfg files ??
can you explain me more please.
Thanks
See the first post about creating a shortcut. After "-mouse" add "-joystick -lightgun" (without quotes).
This is detailed in the Mame documentation which is included in my zipfiles.
ok i will try right now
thanks
edit:
so i try to add -mouse - joystick and the other but it doesn't do anything . my xbox 360 and also my logitech are mot recognize
Did you also go into MAME and "Configure General Inputs" as I asked?
PLEASE read the MAME documentation - all this is in there.
yes i did it but doesn't seems to work.
its a pity because its a really good program.
i also read the config. anyway i hope one day it will be more simple to add controller
thanks
I think xbox360 joystick works only in xinput mode.but the current mame rt only works in rawinput (any hid device)mode.so it may not work.
ok thanks for the answer
so i will not use this program. i really want to use my xbox cntroller.