It was boring because you didn't have that something every thread should haveFlype wrote:why booooooooring....![]()
![]()
JoystickEx V1.0 should work with up to 16 joysticks.
if some of you have more than 1 controller, please test and let me know.

Code: Select all
ExamineDesktopsEx() ; Retrieves informations about user's desktops and returns the number of desktops.
DesktopExName(index.l) ; Returns the device name of the specified desktop, if any.
DesktopExString(index.l) ; Returns the device string of the specified desktop, if any.
DesktopExRegID(index.l) ; Returns the device id of the specified desktop, if any.
DesktopExRegKey(index.l) ; Returns the device key of the specified desktop, if any.
DesktopExMouseY(index.l) ; Returns the absolute/relative x mouse position.
DesktopExMouseX(index.l) ; Returns the absolute/relative x mouse position.
DesktopExMouse(x.l, y.l, index.l) ; Set the absolute/relative mouse position.
DesktopExLeftArea(index.l) ; Returns the left position (in pixels) in the work area of the specified desktop.
DesktopExTopArea(index.l) ; Returns the top position (in pixels) in the work area of the specified desktop.
DesktopExWidthArea(index.l) ; Returns the right position (in pixels) in the work area of the specified desktop.
DesktopExHeightArea(index.l) ; Returns the bottom position (in pixels) in the work area of the specified desktop.
DesktopExTop(index.l) ; Returns the top position (in pixels) of the specified desktop.
DesktopExLeft(index.l) ; Returns the left position (in pixels) of the specified desktop.
DesktopExWidth(index.l) ; Returns the width (in pixels) of the specified desktop.
DesktopExHeight(index.l) ; Returns the height (in pixels) of the specified desktop.
DesktopExDepth(index.l) ; Returns the depth (bits per pixels) of the specified desktop.
DesktopExFrequency(index.l) ; Returns the frequency (in Hz) of the specified desktop.
DesktopExID(index.l) ; Returns the handle (HMONITOR) of the specified desktop.
DesktopExFlags(index.l) ; Returns the device flags of the specified desktop.
DesktopExIsActive(index.l) ; Returns #TRUE if the specified desktop is active, else #False.
DesktopExIsPrimary(index.l) ; Returns #TRUE if the specified desktop is the primary one, else #False.
DesktopExIsRemote(index.l) ; Returns #TRUE if the specified desktop is remote one (Terminal Server), else #False.
DesktopExIsRemovable(index.l) ; Returns #TRUE if the specified desktop is removable, else #False.
DesktopExIsVGACompatible(index.l) ; Returns #TRUE if the specified desktop is VGA Compatible, else #False.
DesktopExFromWindow(*hwnd) ; Returns the #Desktop of the specified WindowID.
DesktopExFromRect(*lpRect) ; Returns the #Desktop of the specified RECT structure.
DesktopExFromPoint(x.l, y.l) ; Returns the #Desktop of the specified coords.
Code: Select all
Procedure.l LastElementEx(*list.LINKEDLISTEX)
While *list
If *list\next = #Null
ProcedureReturn *list
EndIf
*list = *list\next
;Added to prevent endless loop
If *list\next = *list\prev
*list\next = #Null
EndIf
Wend
EndProcedure