Emuforums.com

Go Back   Emuforums.com > PS2 Emulation > PS2 Plugin Questions & Plugin Troubleshooting
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old December 22nd, 2006, 18:48   #61
Rebel_X
Ƹ̵̡Ӝ̵̨̄Ʒ 龍我雷 Ƹ̵̡Ӝ̵̨̄Ʒ
 
Rebel_X's Avatar
 
Join Date: Sep 2002
Location: Oak Lawn, IL
Posts: 1,200
Technical Part (Danger if you hate math skip this post! )
============================================

RPGW1ZaRD from technical view, PadWinKeb was Wrapping every 254 pixels to 0
it means, if your screen width was 640, and your mouse x-axis was 200, and you
go to the right 60 pixels, that means the new analog x-axis is 6 ( 260 - 254 )
it'll go to the left, so that's why the Character in FF12 goes in wrong different directions, in
different mouse locations.

I managed to correct this by this formula to scale Mouse (Screen) coordinates
i.e (640x480) to Analog coordinates (x and y <= 255 and >= 0) (255x255)

AnalogX = (Mouse.X / ScreenWidth) * 255
AnalogY = (Mouse.Y / ScreenHeight) * 255

I don't know why PadWinKeyb authors didn't do that, it was very trivial & basic.

the Reks in FF12, if you want him to run the right, Analog must be X > 64+(128 origin)

So bottom line, Sensitivity is good for Most games, cause Keyboard uses
the highest sensitivity, so mouse will be good for accurate Analog coords
And I don't think, it would be appropriate to add harsh mouse sensitivity
(although its possible)

Besides, you said, it's a bonus feature, this plugin focus on Keyboard.
Sorry if I was bragging, But I was showing you what's going on.

I hope thc is glad for mouse support tho
__________________

Kuroshіtsuji (Sebastian: "I am one 'hell' of a butler")

Last edited by Rebel_X; January 6th, 2007 at 01:24.. Reason: technical stuff ;)
Rebel_X is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old December 23rd, 2006, 09:10   #62
BAXTER STOCKMAN
Registered User
 
BAXTER STOCKMAN's Avatar
 
Join Date: Feb 2006
Location: FEUDAL JAPAN
Posts: 411
I have a problem with Twin Pad Plugin. It dosent work for me. I have test KH1 and Clock Tower 3, and i can not move my character, or attack.I try all keys in my keyboard and nothing happens.

Here is my configuration:
Attached Images
File Type: gif untitled.GIF (153.5 KB, 189 views)
__________________
I AM Dr Baxter Stockman And i am the best scientist in the world! Long ago i was a real human. A brilliant mind on a Evil body. But things were going wrong, terribly, wrong. Hun And Shredder have destroy my body and in the end the only thing that has remain of me, was only my brain. Finally my friend Agent Bishop create a clone body for me. So i was a human again. But my new body was sunddenly destroyed when the ninja turtless throw me into a river.

Athlon X2 4400+DUAL CORE 2.2.GHZ socket 939 2 GB RAM DDR400 GeForce 8800 gt 512 mb 260 gb hdd
BAXTER STOCKMAN is offline   Reply With Quote
Old December 23rd, 2006, 09:34   #63
RPGW1ZaRD
PCSX2 & O/C Addict
 
RPGW1ZaRD's Avatar
 
Join Date: Mar 2006
Location: My Computer
Posts: 2,841
That's some old version you have, try latest v0.5.0.
__________________

« Feel free to browse through PCSX2 screenshots on RPGWiZaRD's Putfile.com section »

Intel® Core™2 Duo E8400 @ 4.0GHz «-» Gigabyte P35-DS4 «-» CellShock 2x1GB @ DDR2-1200 5-5-4-10 «-» JetWay 8800GT 512 MB @ 705/1750/1015 MHz «-» Thermaltake ToughPower 750W «-» Sony Multiscan G400 19" CRT «-» OCZ Vendetta 2 «-» Creative SoundBlaster Audigy «-» Logitech X-530 5.1 «-» Sennheiser HD 212 Pro «-» Logitech MX™518 Gaming-Grade «-» Razer Mantis Speed «-» Windows XP Pro SP3 «-» Windows Server 2k8 XSOS 3.0 BETA
RPGW1ZaRD is offline   Reply With Quote
Old December 23rd, 2006, 11:56   #64
BAXTER STOCKMAN
Registered User
 
BAXTER STOCKMAN's Avatar
 
Join Date: Feb 2006
Location: FEUDAL JAPAN
Posts: 411
Quote:
Originally Posted by RPGW1ZaRD View Post
That's some old version you have, try latest v0.5.0.
I am using the v 0.5.0 version.
__________________
I AM Dr Baxter Stockman And i am the best scientist in the world! Long ago i was a real human. A brilliant mind on a Evil body. But things were going wrong, terribly, wrong. Hun And Shredder have destroy my body and in the end the only thing that has remain of me, was only my brain. Finally my friend Agent Bishop create a clone body for me. So i was a human again. But my new body was sunddenly destroyed when the ninja turtless throw me into a river.

Athlon X2 4400+DUAL CORE 2.2.GHZ socket 939 2 GB RAM DDR400 GeForce 8800 gt 512 mb 260 gb hdd
BAXTER STOCKMAN is offline   Reply With Quote
Old December 23rd, 2006, 12:04   #65
RPGW1ZaRD
PCSX2 & O/C Addict
 
RPGW1ZaRD's Avatar
 
Join Date: Mar 2006
Location: My Computer
Posts: 2,841
Well the latest version looks like this.
Attached Images
File Type: jpg Clipboard01.jpg (56.1 KB, 165 views)
__________________

« Feel free to browse through PCSX2 screenshots on RPGWiZaRD's Putfile.com section »

Intel® Core™2 Duo E8400 @ 4.0GHz «-» Gigabyte P35-DS4 «-» CellShock 2x1GB @ DDR2-1200 5-5-4-10 «-» JetWay 8800GT 512 MB @ 705/1750/1015 MHz «-» Thermaltake ToughPower 750W «-» Sony Multiscan G400 19" CRT «-» OCZ Vendetta 2 «-» Creative SoundBlaster Audigy «-» Logitech X-530 5.1 «-» Sennheiser HD 212 Pro «-» Logitech MX™518 Gaming-Grade «-» Razer Mantis Speed «-» Windows XP Pro SP3 «-» Windows Server 2k8 XSOS 3.0 BETA
RPGW1ZaRD is offline   Reply With Quote
Old December 23rd, 2006, 13:05   #66
sushil
Registered User
 
Join Date: Dec 2006
Location: india(HAryana)
Posts: 18
can u give me this plugins plz
sushil is offline   Reply With Quote
Old December 23rd, 2006, 14:15   #67
Swift2
Registered User
 
Join Date: Dec 2006
Location: USA
Posts: 10
Quote:
Originally Posted by sushil View Post
can u give me this plugins plz
I'd love to give it to you!
Click here to get it
Swift2 is offline   Reply With Quote
Old December 24th, 2006, 01:19   #68
Rebel_X
Ƹ̵̡Ӝ̵̨̄Ʒ 龍我雷 Ƹ̵̡Ӝ̵̨̄Ʒ
 
Rebel_X's Avatar
 
Join Date: Sep 2002
Location: Oak Lawn, IL
Posts: 1,200
New version!

Hi,

I know it's so silly to release updates every three hours or so, but
nevertheless here is update

Changed:
=======
- Corrected mouse support, previous version was depending on Screen resolution, In this version it depends on GS window dimensions.

Overall, if you play in Window or Full screen, you will have nice controls over
the mouse. as previous version works best for Full Screen Mode.

you can resize the window, maximize it, without affecting Mouse controls

I didn't notice this, cause I always play in Full screen, thanx to thc, to give me the technical part in the code, RPGW1ZaRD, give it to me from user point of view.

Try this RPGW1ZaRD, does this correct mouse sensitivity
nevertheless, it may contain glitches, so feedback would be appreciated!

Thanx..

EDIT: Corrected some stuff, download again! see my post below for more infos!
Attached Files
File Type: zip TwinPad Source v0.6.0.zip (81.3 KB, 132 views)
File Type: zip TwinPad v0.6.0.zip (51.5 KB, 586 views)
__________________

Kuroshіtsuji (Sebastian: "I am one 'hell' of a butler")

Last edited by Rebel_X; December 24th, 2006 at 14:10..
Rebel_X is offline   Reply With Quote
Old December 24th, 2006, 09:32   #69
RPGW1ZaRD
PCSX2 & O/C Addict
 
RPGW1ZaRD's Avatar
 
Join Date: Mar 2006
Location: My Computer
Posts: 2,841
Haha yet another release, I like trying out new versions of plugins and emulators personally.

I forgot to meantion I use windowed mode yea. I noticed you limited the area where you can move pointer to only the pcsx2 window, this is both good and bad, I often switch among fraps, irfanview etc (this is often why people would use windowed mode anyways) when running PCSX2 in windowed mode, now I also have to minimize the pcsx2 window first so it doesn't feel too flexible. But it might help with mouse support tho but I personally think I prefer being able to move mouse pointer all over the screen. This made also another problem, when moving the pcsx2 window the area where you can move the mouse pointer doesn't change according to the new position, the area remains same as when loading a game.

The good part is that mouse support feels more responsive/sensitive now.
__________________

« Feel free to browse through PCSX2 screenshots on RPGWiZaRD's Putfile.com section »

Intel® Core™2 Duo E8400 @ 4.0GHz «-» Gigabyte P35-DS4 «-» CellShock 2x1GB @ DDR2-1200 5-5-4-10 «-» JetWay 8800GT 512 MB @ 705/1750/1015 MHz «-» Thermaltake ToughPower 750W «-» Sony Multiscan G400 19" CRT «-» OCZ Vendetta 2 «-» Creative SoundBlaster Audigy «-» Logitech X-530 5.1 «-» Sennheiser HD 212 Pro «-» Logitech MX™518 Gaming-Grade «-» Razer Mantis Speed «-» Windows XP Pro SP3 «-» Windows Server 2k8 XSOS 3.0 BETA

Last edited by RPGW1ZaRD; December 24th, 2006 at 09:42..
RPGW1ZaRD is offline   Reply With Quote
Old December 24th, 2006, 11:10   #70
DracoPsycho
Registered User
 
Join Date: Nov 2006
Location: Poznan, Poland
Posts: 14
Ummm... silly question from me, but I want to be sure. I don't have to enable mouse support somehow specific, it's just there, right? What I mean, there is no switch in configuration GUI like "use mouse for analog sticks" so I understand that it's always like this. So to use it as eg. right analog stick I have to hold RMB and move the mouse? And what when I already assigned keys to analog sticks? Thanks in advance for response.
DracoPsycho is offline   Reply With Quote
Old December 24th, 2006, 14:07   #71
Rebel_X
Ƹ̵̡Ӝ̵̨̄Ʒ 龍我雷 Ƹ̵̡Ӝ̵̨̄Ʒ
 
Rebel_X's Avatar
 
Join Date: Sep 2002
Location: Oak Lawn, IL
Posts: 1,200
Quote:
Originally Posted by DracoPsycho View Post
Ummm... silly question from me, but I want to be sure. I don't have to enable mouse support somehow specific, it's just there, right? What I mean, there is no switch in configuration GUI like "use mouse for analog sticks" so I understand that it's always like this. So to use it as eg. right analog stick I have to hold RMB and move the mouse? And what when I already assigned keys to analog sticks? Thanks in advance for response.
The mouse is activated normally, MLbutton, means left analog, MRbutton means Right analog. And I hope it didn't interfere with
Analog keys (may be future releases contain Mouse configs in the GUI)!

Please download again, corrected GS window, if it was moved update the
mouse area, also, RPGW1ZaRD I didn't think clipping area to specified
region is rightous, so, the mouse is free to go anywhere if NOT pressed Lbutton or Rbutton (Gives more flexibility huh )
__________________

Kuroshіtsuji (Sebastian: "I am one 'hell' of a butler")

Last edited by Rebel_X; December 24th, 2006 at 14:39..
Rebel_X is offline   Reply With Quote
Old December 24th, 2006, 14:26   #72
RPGW1ZaRD
PCSX2 & O/C Addict
 
RPGW1ZaRD's Avatar
 
Join Date: Mar 2006
Location: My Computer
Posts: 2,841
Awesome now mouse support is perfect even in windowed mode! Thx for this xmas gift. (You didn't meantion if you had a paypal account yet j/k)

BTW I've found out another little issue, when typing on a forum or otherwise just pressing some keyboard buttons meanwhile the emulator is running with this twinpad plugin, even if you minimize the pcsx2 window when pressing down some of the assigned control keys the inputs are recognised in the emulator, doesn't happen with the other plugins (as long as pcsx2 isn't the "active" window). So when I use ctrl + v to paste the screenshot in Irfanview for example the emulator pauses as I've got start button assigned to "v" with the plugin for example.
__________________

« Feel free to browse through PCSX2 screenshots on RPGWiZaRD's Putfile.com section »

Intel® Core™2 Duo E8400 @ 4.0GHz «-» Gigabyte P35-DS4 «-» CellShock 2x1GB @ DDR2-1200 5-5-4-10 «-» JetWay 8800GT 512 MB @ 705/1750/1015 MHz «-» Thermaltake ToughPower 750W «-» Sony Multiscan G400 19" CRT «-» OCZ Vendetta 2 «-» Creative SoundBlaster Audigy «-» Logitech X-530 5.1 «-» Sennheiser HD 212 Pro «-» Logitech MX™518 Gaming-Grade «-» Razer Mantis Speed «-» Windows XP Pro SP3 «-» Windows Server 2k8 XSOS 3.0 BETA

Last edited by RPGW1ZaRD; December 24th, 2006 at 14:36..
RPGW1ZaRD is offline   Reply With Quote
Old December 24th, 2006, 14:41   #73
Rebel_X
Ƹ̵̡Ӝ̵̨̄Ʒ 龍我雷 Ƹ̵̡Ӝ̵̨̄Ʒ
 
Rebel_X's Avatar
 
Join Date: Sep 2002
Location: Oak Lawn, IL
Posts: 1,200
This is due to DirectInput has Foreground NonExclusive access to Keyboard
DirectInput got more power to control Keyboard even running in background
I will see what I can do.
__________________

Kuroshіtsuji (Sebastian: "I am one 'hell' of a butler")
Rebel_X is offline   Reply With Quote
Old January 10th, 2007, 12:10   #74
Rebel_X
Ƹ̵̡Ӝ̵̨̄Ʒ 龍我雷 Ƹ̵̡Ӝ̵̨̄Ʒ
 
Rebel_X's Avatar
 
Join Date: Sep 2002
Location: Oak Lawn, IL
Posts: 1,200
Hi Again..

A new release of TwinPad is out, it's version now 0.7.0

This is gonna be cool, Change Log hhmmm, be ready!

Changes:
=======

- Corrected the Issue RPGW1ZaRD told me about, that's even if
GS window lost focus, it responds to keyboard events. (Fixed )
thanks to him, cause I didn't notice this before. (you should be
one of beta testers of PCSX2, you give a quick and sharp feedback
to what's going on (IMHO) )

- Fixed a very nasty bug, Emu crash if you closed the window
using the mouse (click on X in the upper right corner), now it
wont happen again, to exit PCSX2 press ESCAPE.

- Corrected PAD2 analog emulation, as the original PadWinKeyb plugin
was using the same controls defined for both pads (pad1 & pad2)
that means, in earlier versions, if for example there is 2 players
they will move simultaneously, now that fixed too

- Added a new feature for Mouse support, users with 8 mouse buttons
will be glad, even if you have a mouse with less buttons you will be
glad too, now in the GUI, you can configure the way your Mouse will
work, you can configure for example, Middle mouse button to do the job
of Cross, Triangle, Square, Circle, L2, R2...etc!
Also you can switch the Right Analog with the Left Analog or any other
button you have in your mouse, this is great for users want full
control of there mice, or handicapped errr!! I mean left handed users,
gives them more flexibility, note that Mouse will work as PAD1 only
(I was too lazy to add switch in GUI to let it be using Pad2, maybe
in the next versions, if there is any.. )

hi thc (he will know what I'm talking about..)

Notes:
=====
- Important!! Read the notes in GUI about mouse. I am not gonna
write them again here.

- This is considered a beta! as I don't have mouse with 8 buttons
(I have only mouse with 3 buttons and a wheel, but they work..
the principle is the same, theoretically it will work with other mice.

- If there is any glitches, tell me about them asap, as I am gonna be
busy for a while (if I could correct what I have missed)

- have fun, I hope the new mouse support makes you all happy.

EDIT: Corrected Logical bug with latest Mouse implementaions,
fixed Now (that's insulting me, damn, also removed that MessageBox
thc talked about -debugging purposes-)
Attached Files
File Type: zip TwinPad Source v0.7.0.zip (89.9 KB, 303 views)
File Type: zip TwinPad v0.7.0.zip (58.0 KB, 1063 views)
__________________

Kuroshіtsuji (Sebastian: "I am one 'hell' of a butler")

Last edited by Rebel_X; January 11th, 2007 at 07:16..
Rebel_X is offline   Reply With Quote
Old January 10th, 2007, 12:23   #75
thc
Member ©
 
Join Date: Nov 2006
Location: Prague, CZ
Posts: 691
:P I know I'm pain in ***.
__________________
E6600 @3600, P5W DH DLX, 2x 512 A-Data @800, 4-4-3-4, X1900XT
listening to Weird Al...
brain damage
thc is offline   Reply With Quote
Old January 10th, 2007, 12:28   #76
Rebel_X
Ƹ̵̡Ӝ̵̨̄Ʒ 龍我雷 Ƹ̵̡Ӝ̵̨̄Ʒ
 
Rebel_X's Avatar
 
Join Date: Sep 2002
Location: Oak Lawn, IL
Posts: 1,200
I love u man, your coding style is awsome (convoluted a bit )
__________________

Kuroshіtsuji (Sebastian: "I am one 'hell' of a butler")
Rebel_X is offline   Reply With Quote
Old January 10th, 2007, 12:46   #77
thc
Member ©
 
Join Date: Nov 2006
Location: Prague, CZ
Posts: 691
I'm bit pig when in hurry... Anyway I don't know what else should I want. seems there is allready everything inside... hmm, force feedback for mouse ? :P
__________________
E6600 @3600, P5W DH DLX, 2x 512 A-Data @800, 4-4-3-4, X1900XT
listening to Weird Al...
brain damage
thc is offline   Reply With Quote
Old January 10th, 2007, 12:49   #78
Rebel_X
Ƹ̵̡Ӝ̵̨̄Ʒ 龍我雷 Ƹ̵̡Ӝ̵̨̄Ʒ
 
Rebel_X's Avatar
 
Join Date: Sep 2002
Location: Oak Lawn, IL
Posts: 1,200
eeecks, I am having nightmares already? LOL forget aboiut it!!
__________________

Kuroshіtsuji (Sebastian: "I am one 'hell' of a butler")
Rebel_X is offline   Reply With Quote
Old January 10th, 2007, 16:37   #79
o15s19
Registered User
 
o15s19's Avatar
 
Join Date: Dec 2005
Location: New York
Posts: 45
Big Thanks for you
o15s19 is offline   Reply With Quote
Old January 10th, 2007, 17:58   #80
thc
Member ©
 
Join Date: Nov 2006
Location: Prague, CZ
Posts: 691
pad.cpp@457 You forgot some debug message box (when R3 pressed), other seems to work nice.
__________________
E6600 @3600, P5W DH DLX, 2x 512 A-Data @800, 4-4-3-4, X1900XT
listening to Weird Al...
brain damage
thc is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 15:59.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.