Changes
Jump to navigation
Jump to search
← Older edit
JoySticks
(view source)
Revision as of 16:22, 24 October 2019
236 bytes added
,
16:22, 24 October 2019
added info for Windows 10 64bit install of dll
Line 48:
Line 48:
|}
|}
−
===
Usage
===
+
===
Presentation
===
'''Example PCL code you can program a handle to send a marker:'''
'''Example PCL code you can program a handle to send a marker:'''
−
#handle:
+
active_buttons = 0;
−
output_port OutputPort
=
output_port_manager
.
get_port
( 1 );
+
begin;
−
+
picture {
−
'''Example to send a marker
:
'''
+
text { caption = " "; font_size = 16; } t_Text1; x = 0; y = 0;
−
OutputPort
.
send_code
(
100
);
#create a marker
+
} P_Text;
+
begin_pcl;
+
joystick stick
=
response_manager
.
get_joystick
( 1 );
+
loop int i = 1
+
until false
+
begin
+
stick.poll( );
+
t_Text1.set_caption("coordinates
:
" + string(stick.x()) + ":" + string(stick.y()), true);
+
P_Text
.
present
();
+
end;
==== Python ====
==== Python ====
Line 91:
Line 100:
<br />
<br />
−
==== Windows 7 64bit ====
+
==== Windows 7
64bit and Windows 10
64bit ====
# Download [[media:dx7dll.zip | dx7vb.dll]].
# Download [[media:dx7dll.zip | dx7vb.dll]].
Wiki-admin
Bureaucrats
,
Administrators
1,658
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Help
About
About the TSG
About this Wiki
FAQ
Disclaimer
Survey
Customer Survey
Tools
Special pages
Printable version