|
|
|
#81 |
|
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
|
i booted into safe mode and you know what, control worked to an extent. BUT, i think i know why now. THE PLUGIN DOES NOT POLL THE CONTROLLER FAST ENOUGH TO DETECT BUTTON PRESSES. weapon charging didn't work at all in Megaman ZX, which means the button wasn't been detected as held. |
|
|
|
| Advertisement | [Remove Advertisement] |
|
|
|
|
|
#82 |
|
Rockman fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2002
Location: Earth!
Posts: 5,285
|
I guess he will need to release the next version again.... >.>
|
|
|
|
|
|
#83 |
|
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
|
lol, done some further testing Controls Xbox S-type using XBCD 0.2.6 Gravis Tiltpad (damned if i know the driver) Win9x compatibility - X works, Y doesn't WinNT (2k compatibility and XP) - Y works, X Doesn't. safe mode - all buttons work, but polling is way to slow. |
|
|
|
|
|
#84 |
|
Banned
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2007
Location: Lost.
Posts: 1,761
|
Found a bug: * SDL is meant to be loaded in the main process/thread (DllMain), not when loading plugin information. As for the polling issues, will look into that... |
|
|
|
|
|
#85 |
|
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
|
btw, the second one you sent me,. the small one, wouldn't work at all
|
|
|
|
|
|
#86 |
|
Banned
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2007
Location: Lost.
Posts: 1,761
|
Yah, I know :P You told me yesterday
|
|
|
|
|
|
#87 |
|
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
|
lol i did? i told you the first one acted like al buttons were pressed at once... lol maybe i offline messaged it :\ just for kicks i booted up Dosbox and plays tyrian with my controller :P using the buttons that just won't work in ideas |
|
|
|
|
|
#88 |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2007
Location: Italy
Posts: 334
|
NHerve' why do you also read the state of the keyboard? iDeaS fills *value with current status of keyboard. GetKeyboardState(str);
|
|
|
|
|
|
#89 |
|
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
|
i saw that as well, i was going to mention it to mudlord, its probably why the keyboard controls act up when the plugin is enabled. it also, reads mouse input,. well, middle clicks anyway.
|
|
|
|
|
|
#90 | |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2007
Location: Italy
Posts: 334
|
Strange i have received an email by emuforum but I don't succeed in seeing it. Quote:
I knew that the SDL had the initialization for every layer, graphics, sound etc etc. |
|
|
|
|
|
|
#91 |
|
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
|
yeah, the problem is, that the emulator already gets the keyboard, and having the plugin also get it, can cause conflicts. as it is, i would prefer to see the emulator internally support dinput controls, rather then handling it via a plugin. otherwise, drop the internal controls all together and just handle it all via plugin. your bound to come across conflicts using both methods at some time or another. |
|
|
|
|
|
#92 |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2007
Location: Italy
Posts: 334
|
I havent understood or Im not clear, why DsPad calls GetKeyboardState(str)? I havent tested the plugin, now im very busy, but i have seen the code and i found very strange this call.
|
|
|
|
|
|
#93 |
|
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
|
i would like to know as well. Nherve'? |
|
|
|
|
|
#94 |
|
Formerly NHervé
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
|
mudlord : I tried to init SDL in dllmain, the plugin does not init.
__________________
Luigi__'s website - now open! -- If you're wondering where Mario__ is, he is currently saving Peach__ once again. |
|
|
|
|
|
#95 |
|
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
|
you may not be doing it correctly, as we were able to init the plugin fine.
|
|
|
|
|
|
#96 |
|
Emu author
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2007
Location: Italy
Posts: 334
|
|
|
|
|
|
|
#97 |
|
Banned
![]() ![]() ![]() ![]() ![]() Join Date: Feb 2007
Location: Lost.
Posts: 1,761
|
Code:
BOOL APIENTRY DllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID Reserved){
switch(dwReason){
case DLL_PROCESS_ATTACH:
hInst=hInstance;
OpenSDL();
LoadConf();
return TRUE;
case DLL_PROCESS_DETACH:
CloseSDL();
return TRUE;
}
return FALSE;
|
|
|
|
|
|
#98 |
|
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
|
Nherve, why is it that at one point the source specifies i=IDC_EBX but then the next specifies i=IDC_BX
|
|
|
|
|
|
#99 |
|
Registered User
Join Date: Nov 2006
Location: Buenos Aires
Posts: 25
|
Congratulations NHervé, the plugin works perfect
|
|
|
|
|
|
#100 |
|
Rockman fan
![]() ![]() ![]() ![]() ![]() ![]() ![]() Join Date: May 2002
Location: Earth!
Posts: 5,285
|
Actually, you need to recheck it just to make sure because it works perfect but if you try any buttons like Megaman Star Force that asked to press X button for Save.. No responsive. And you can check anything else... I don't think it's perfectly... yet.
|
|
|
|
![]() |
| Tags |
| dspad, ideas, plugins |
| Thread Tools | |
| Display Modes | |
|
|