You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314 |
- import bge
-
- def main():
- dict = bge.logic.globalDict #Get the global dictionary
- if bge.logic.joysticks[0] == None:
- dict['joy_1'] = True
- else:
- dict['joy_1'] = False
- if bge.logic.joysticks[1] == None:
- dict['joy_2'] = True
- else:
- dict['joy_2'] = False
-
- main()
|