Here's the Xpadder Profile. I'm not using the Right Button because it doesn't work on my controller. Note that there are two button sets. The second set is accessed by using the Left Button.
Code: Select all
;----------------------
; Xpadder Profile File for Dragon Age Origins
;----------------------
Version=5.6
[Profile Settings]
[Set Settings]
[Assignments]
Set1Button1Slots=Left Mouse Button (1)
Set1Button2Slots=3
Set1Button3Slots=1
Set1Button4Slots=2
Set1Button5Name=Change Mode
Set1Button5SetSelect=1
Set1Button7Name=(M)ap
Set1Button7Slots=M
Set1Button8Slots=Space
Set1Button9Slots=Tab
Set1Button10Slots=Right Mouse Button (2)
Set1DPadUpName=(H)old
Set1DPadUpSlots=H
Set1DPadRightName=(J)ournal
Set1DPadRightSlots=J
Set1DPadDownSlots=Escape
Set1DPadLeftName=(I)nventory
Set1DPadLeftSlots=I
Set1Stick1UpSlots=W
Set1Stick1RightSlots=E
Set1Stick1DownSlots=S
Set1Stick1LeftSlots=Q
Set1Stick2UpSlots=Mouse Move Up
Set1Stick2UpMouseSpeed=38
Set1Stick2RightSlots=Mouse Move Right
Set1Stick2RightMouseSpeed=38
Set1Stick2DownSlots=Mouse Move Down
Set1Stick2DownMouseSpeed=38
Set1Stick2LeftSlots=Mouse Move Left
Set1Stick2LeftMouseSpeed=38
Set1TriggerLeftSlots=A
Set1TriggerRightSlots=D
Set2Button1Slots=Left Mouse Button (1)
Set2Button2Slots=6
Set2Button3Slots=4
Set2Button4Slots=5
Set2Button5SetSelect=0
Set2Button7Slots=Forward-Slash
Set2Button9Slots=Left Shift
Set2DPadUpSlots=8
Set2DPadRightSlots=9
Set2DPadDownSlots=0
Set2DPadLeftSlots=7
Set2Stick1UpSlots=F1
Set2Stick1RightSlots=F3
Set2Stick1DownSlots=F4
Set2Stick1LeftSlots=F2
Set2Stick2UpSlots=Mouse Wheel Up
Set2Stick2RightSlots=Mouse Move Right
Set2Stick2RightMouseSpeed=32
Set2Stick2DownSlots=Mouse Wheel Down
Set2Stick2LeftSlots=Mouse Move Left
Set2Stick2LeftMouseSpeed=32
Set2TriggerLeftSlots=Left Control,Alt,F7
Set2TriggerLeftTurboRate=24
Set2TriggerRightSlots=Left Control,Alt,F8
Code: Select all
; This script runs Xpadder and assigns hotkeys that can be activated through Xpadder.
Menu Tray, Icon, C:\Program Files (x86)\Dragon Age\DAOriginsLauncher.exe
Run, C:\Users\UserName\AppData\Local\Xpadder 5.6\Xpadder.exe
#IfWinActive ahk_class DragonAge
^!F7::Gosub CharClickLeft
#IfWinActive ahk_class DragonAge
^!F8::Gosub CharClickRight
;Clicks the Previous Character Button in the Inventory/Character screen
CharClickLeft:
MouseGetPos, xpos, ypos
Click 550, 273
MouseMove, xpos, ypos, 0
Return
;Clicks the Next Character Button in the Inventory/Character screen
CharClickRight:
MouseGetPos, xpos, ypos
Click 900, 273
MouseMove, xpos, ypos, 0
Return