March 08, 2021, 04:07:14 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Forum
Help
Search
Gallery
Login
Register
SyntaxBomb - Indie Coders
»
Languages & Coding
»
Blitz Code Archives
»
User Input
»
[bb] Joystick port detection by starfox [ 1+ years ago ]
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: [bb] Joystick port detection by starfox [ 1+ years ago ] (Read 587 times)
BlitzBot
Jr. Member
Posts: 1
[bb] Joystick port detection by starfox [ 1+ years ago ]
«
on:
June 29, 2017, 12:28:41 AM »
Title :
Joystick port detection
Author :
starfox
Posted :
1+ years ago
Description :
This code was originally by semer
Code :
Code: BlitzBasic
max_port =
2
while
not
keyhit
(
1
)
for
test_port =
0
to
max_port
if
joydown
(
1
,test_port
)
then
print
"joystick detected on port "
+
str
$
(
test_port
)
exit
endif
next
wend
end
Comments :
none...
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
SyntaxBomb - Indie Coders
»
Languages & Coding
»
Blitz Code Archives
»
User Input
»
[bb] Joystick port detection by starfox [ 1+ years ago ]
SimplePortal 2.3.6 © 2008-2014, SimplePortal