-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcustom_control_controller.e
706 lines (616 loc) · 23.8 KB
/
custom_control_controller.e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
note
description : "Used to manage control."
author : "Louis Marchand"
date : "July 19 2012"
revision : "1.0"
class
CUSTOM_CONTROL_CONTROLLER
create
make
feature {NONE} -- Initialization
make
-- Initialization for `Current'.
do
end
feature -- Access
keyboard_enable:BOOLEAN
-- Use the keyboard
keyboard_menu_up:NATURAL_8 assign set_keyboard_menu_up
-- The keyboard key value for the UP control in the menu.
keyboard_menu_down:NATURAL_8 assign set_keyboard_menu_down
-- The keyboard key value for the DOWN control in the menu.
keyboard_menu_left:NATURAL_8 assign set_keyboard_menu_left
-- The keyboard key value for the LEFT control in the menu.
keyboard_menu_right:NATURAL_8 assign set_keyboard_menu_right
-- The keyboard key value for the RIGHT control in the menu.
keyboard_menu_enter:NATURAL_8 assign set_keyboard_menu_enter
-- The keyboard key value for the ENTER control in the menu.
keyboard_menu_back:NATURAL_8 assign set_keyboard_menu_back
-- The keyboard key value for the BACK control in the menu.
keyboard_game_left:NATURAL_8 assign set_keyboard_game_left
-- The keyboard key value for the LEFT control in the game.
keyboard_game_right:NATURAL_8 assign set_keyboard_game_right
-- The keyboard key value for the RIGHT control in the game.
keyboard_game_down:NATURAL_8 assign set_keyboard_game_down
-- The keyboard key value for the DOWN control in the game.
keyboard_game_drop:NATURAL_8 assign set_keyboard_game_drop
-- The keyboard key value for the DROP control in the game.
keyboard_game_rotate_left:NATURAL_8 assign set_keyboard_game_rotate_left
-- The keyboard key value for the ROTATE LEFT control in the game.
keyboard_game_rotate_right:NATURAL_8 assign set_keyboard_game_rotate_right
-- The keyboard key value for the ROTATE LEFT control in the game.
keyboard_game_hold:NATURAL_8 assign set_keyboard_game_hold
-- The keyboard key value for the HOLD control in the game.
keyboard_game_pause:NATURAL_8 assign set_keyboard_game_pause
-- The keyboard key value for the PAUSE control in the game.
joystick_enable:BOOLEAN
-- Use the joystick
joystick_device_id:NATURAL_8 assign set_joystick_device_id
-- Use ID of the joystick to use
joystick_buttons_enable:BOOLEAN
-- Use the buttons on the joystick
joystick_button_menu_up:NATURAL_8 assign set_joystick_button_menu_up
-- The joystick button value for the UP control in the menu.
joystick_button_menu_down:NATURAL_8 assign set_joystick_button_menu_down
-- The joystick button value for the DOWN control in the menu.
joystick_button_menu_left:NATURAL_8 assign set_joystick_button_menu_left
-- The joystick button value for the LEFT control in the menu.
joystick_button_menu_right:NATURAL_8 assign set_joystick_button_menu_right
-- The joystick button value for the RIGHT control in the menu.
joystick_button_menu_enter:NATURAL_8 assign set_joystick_button_menu_enter
-- The joystick button value for the ENTER control in the menu.
joystick_button_menu_back:NATURAL_8 assign set_joystick_button_menu_back
-- The joystick button value for the BACK control in the menu.
joystick_button_game_left:NATURAL_8 assign set_joystick_button_game_left
-- The joystick button value for the LEFT control in the game.
joystick_button_game_right:NATURAL_8 assign set_joystick_button_game_right
-- The joystick button value for the RIGHT control in the game.
joystick_button_game_down:NATURAL_8 assign set_joystick_button_game_down
-- The joystick button value for the DOWN control in the game.
joystick_button_game_drop:NATURAL_8 assign set_joystick_button_game_drop
-- The joystick button value for the DROP control in the game.
joystick_button_game_rotate_left:NATURAL_8 assign set_joystick_button_game_rotate_left
-- The joystick button value for the ROTATE LEFT control in the game.
joystick_button_game_rotate_right:NATURAL_8 assign set_joystick_button_game_rotate_right
-- The joystick button value for the ROTATE RIGHT control in the game.
joystick_button_game_hold:NATURAL_8 assign set_joystick_button_game_hold
-- The joystick button value for the HOLD control in the game.
joystick_button_game_pause:NATURAL_8 assign set_joystick_button_game_pause
-- The joystick button value for the PAUSE control in the game.
joystick_axis_enable:BOOLEAN
-- Use the axis on the joystick
joystick_axis_menu_up:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the UP control in the menu.
joystick_axis_menu_down:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the DOWN control in the menu.
joystick_axis_menu_left:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the LEFT control in the menu.
joystick_axis_menu_right:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the RIGHT control in the menu.
joystick_axis_menu_enter:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the ENTER control in the menu.
joystick_axis_menu_back:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the BACK control in the menu.
joystick_axis_game_left:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the LEFT control in the game.
joystick_axis_game_right:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the RIGHT control in the game.
joystick_axis_game_down:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the DOWN control in the game.
joystick_axis_game_drop:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the DROP control in the game.
joystick_axis_game_rotate_left:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the ROTATE LEFT control in the game.
joystick_axis_game_rotate_right:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the ROTATE RIGHT control in the game.
joystick_axis_game_hold:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the HOLD control in the game.
joystick_axis_game_pause:TUPLE[lower_than,upper_than:INTEGER_16;axis_id:NATURAL_8]
-- The joystick axis values (deadzone and id) for the PAUSE control in the game.
feature -- Setters
enable_keyboard
-- Activate the keyboard management.
do
keyboard_enable:=true
keyboard_menu_up:=keyboard_menu_up.max_value
keyboard_menu_down:=keyboard_menu_down.max_value
keyboard_menu_left:=keyboard_menu_left.max_value
keyboard_menu_right:=keyboard_menu_right.max_value
keyboard_menu_back:=keyboard_menu_back.max_value
keyboard_menu_enter:=keyboard_menu_enter.max_value
keyboard_game_left:=keyboard_game_left.max_value
keyboard_game_right:=keyboard_game_right.max_value
keyboard_game_down:=keyboard_game_down.max_value
keyboard_game_drop:=keyboard_game_drop.max_value
keyboard_game_rotate_left:=keyboard_game_rotate_left.max_value
keyboard_game_rotate_right:=keyboard_game_rotate_right.max_value
keyboard_game_hold:=keyboard_game_hold.max_value
keyboard_game_pause:=keyboard_game_pause.max_value
end
set_keyboard_menu_up(value:NATURAL_8)
-- Assign `keyboard_menu_up' with `value'
do
keyboard_menu_up:=value
end
set_keyboard_menu_down(value:NATURAL_8)
-- Assign `keyboard_menu_down' with `value'
do
keyboard_menu_down:=value
end
set_keyboard_menu_left(value:NATURAL_8)
-- Assign `keyboard_menu_left' with `value'
do
keyboard_menu_left:=value
end
set_keyboard_menu_right(value:NATURAL_8)
-- Assign `keyboard_menu_right' with `value'
do
keyboard_menu_right:=value
end
set_keyboard_menu_enter(value:NATURAL_8)
-- Assign `keyboard_menu_enter' with `value'
do
keyboard_menu_enter:=value
end
set_keyboard_menu_back(value:NATURAL_8)
-- Assign `keyboard_menu_back' with `value'
do
keyboard_menu_back:=value
end
set_keyboard_game_left(value:NATURAL_8)
-- Assign `keyboard_game_left' with `value'
do
keyboard_game_left:=value
end
set_keyboard_game_right(value:NATURAL_8)
-- Assign `keyboard_game_right' with `value'
do
keyboard_game_right:=value
end
set_keyboard_game_down(value:NATURAL_8)
-- Assign `keyboard_game_down' with `value'
do
keyboard_game_down:=value
end
set_keyboard_game_drop(value:NATURAL_8)
-- Assign `keyboard_game_drop' with `value'
do
keyboard_game_drop:=value
end
set_keyboard_game_rotate_left(value:NATURAL_8)
-- Assign `keyboard_game_rotate_left' with `value'
do
keyboard_game_rotate_left:=value
end
set_keyboard_game_rotate_right(value:NATURAL_8)
-- Assign `keyboard_game_rotate_right' with `value'
do
keyboard_game_rotate_right:=value
end
set_keyboard_game_hold(value:NATURAL_8)
-- Assign `keyboard_game_hold' with `value'
do
keyboard_game_hold:=value
end
set_keyboard_game_pause(value:NATURAL_8)
-- Assign `keyboard_game_pause' with `value'
do
keyboard_game_pause:=value
end
enable_joystick
-- Activate the joystick management.
do
joystick_enable:=true
end
set_joystick_device_id(value:NATURAL_8)
-- Assign `joystick_device_id' with `value'
do
joystick_device_id:=value
end
enable_joystick_buttons
-- Activate the joystick buttons management.
do
joystick_buttons_enable:=true
joystick_button_menu_up:=joystick_button_menu_up.max_value
joystick_button_menu_down:=joystick_button_menu_down.max_value
joystick_button_menu_left:=joystick_button_menu_left.max_value
joystick_button_menu_right:=joystick_button_menu_right.max_value
joystick_button_menu_enter:=joystick_button_menu_enter.max_value
joystick_button_menu_back:=joystick_button_menu_back.max_value
joystick_button_game_left:=joystick_button_game_left.max_value
joystick_button_game_right:=joystick_button_game_right.max_value
joystick_button_game_down:=joystick_button_game_down.max_value
joystick_button_game_drop:=joystick_button_game_drop.max_value
joystick_button_game_rotate_left:=joystick_button_game_rotate_left.max_value
joystick_button_game_rotate_right:=joystick_button_game_rotate_right.max_value
joystick_button_game_hold:=joystick_button_game_hold.max_value
joystick_button_game_pause:=joystick_button_game_pause.max_value
end
set_joystick_button_menu_up(value:NATURAL_8)
-- Assign `joystick_button_menu_up' with `value'
do
joystick_button_menu_up:=value
end
set_joystick_button_menu_down(value:NATURAL_8)
-- Assign `joystick_button_menu_down' with `value'
do
joystick_button_menu_down:=value
end
set_joystick_button_menu_left(value:NATURAL_8)
-- Assign `joystick_button_menu_left' with `value'
do
joystick_button_menu_left:=value
end
set_joystick_button_menu_right(value:NATURAL_8)
-- Assign `joystick_button_menu_right' with `value'
do
joystick_button_menu_right:=value
end
set_joystick_button_menu_enter(value:NATURAL_8)
-- Assign `joystick_button_menu_enter' with `value'
do
joystick_button_menu_enter:=value
end
set_joystick_button_menu_back(value:NATURAL_8)
-- Assign `joystick_button_menu_back' with `value'
do
joystick_button_menu_back:=value
end
set_joystick_button_game_left(value:NATURAL_8)
-- Assign `joystick_button_game_left' with `value'
do
joystick_button_game_left:=value
end
set_joystick_button_game_right(value:NATURAL_8)
-- Assign `joystick_button_game_right' with `value'
do
joystick_button_game_right:=value
end
set_joystick_button_game_down(value:NATURAL_8)
-- Assign `joystick_button_game_down' with `value'
do
joystick_button_game_down:=value
end
set_joystick_button_game_drop(value:NATURAL_8)
-- Assign `joystick_button_game_drop' with `value'
do
joystick_button_game_drop:=value
end
set_joystick_button_game_rotate_left(value:NATURAL_8)
-- Assign `joystick_button_game_rotate_left' with `value'
do
joystick_button_game_rotate_left:=value
end
set_joystick_button_game_rotate_right(value:NATURAL_8)
-- Assign `joystick_button_game_rotate_right' with `value'
do
joystick_button_game_rotate_right:=value
end
set_joystick_button_game_hold(value:NATURAL_8)
-- Assign `joystick_button_game_hold' with `value'
do
joystick_button_game_hold:=value
end
set_joystick_button_game_pause(value:NATURAL_8)
-- Assign `joystick_button_game_pause' with `value'
do
joystick_button_game_pause:=value
end
enable_joystick_axis
-- Activate the joystick axis management.
local
temp_int_16:INTEGER_16
default_id:NATURAL_8
do
joystick_axis_enable:=true
default_id:=default_id.max_value
joystick_axis_menu_up:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
joystick_axis_menu_down:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
joystick_axis_menu_left:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
joystick_axis_menu_right:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
joystick_axis_menu_enter:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
joystick_axis_menu_back:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
joystick_axis_game_left:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
joystick_axis_game_right:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
joystick_axis_game_down:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
joystick_axis_game_drop:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
joystick_axis_game_rotate_left:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
joystick_axis_game_rotate_right:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
joystick_axis_game_hold:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
joystick_axis_game_pause:=[temp_int_16.min_value,temp_int_16.max_value,default_id]
end
set_joystick_axis_menu_up_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_menu_up'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_up.axis_id:=value
end
set_joystick_axis_menu_up_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_menu_up'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_up.lower_than:=value
end
set_joystick_axis_menu_up_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_menu_up'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_up.upper_than:=value
end
set_joystick_axis_menu_down_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_menu_down'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_down.axis_id:=value
end
set_joystick_axis_menu_down_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_menu_down'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_down.lower_than:=value
end
set_joystick_axis_menu_down_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_menu_down'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_down.upper_than:=value
end
set_joystick_axis_menu_left_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_menu_left'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_left.axis_id:=value
end
set_joystick_axis_menu_left_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_menu_left'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_left.lower_than:=value
end
set_joystick_axis_menu_left_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_menu_left'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_left.upper_than:=value
end
set_joystick_axis_menu_right_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_menu_right'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_right.axis_id:=value
end
set_joystick_axis_menu_right_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_menu_right'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_right.lower_than:=value
end
set_joystick_axis_menu_right_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_menu_right'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_right.upper_than:=value
end
set_joystick_axis_menu_enter_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_menu_enter'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_enter.axis_id:=value
end
set_joystick_axis_menu_enter_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_menu_enter'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_enter.lower_than:=value
end
set_joystick_axis_menu_enter_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_menu_enter'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_enter.upper_than:=value
end
set_joystick_axis_menu_back_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_menu_back'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_back.axis_id:=value
end
set_joystick_axis_menu_back_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_menu_back'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_back.lower_than:=value
end
set_joystick_axis_menu_back_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_menu_back'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_menu_back.upper_than:=value
end
set_joystick_axis_game_left_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_game_left'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_left.axis_id:=value
end
set_joystick_axis_game_left_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_game_left'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_left.lower_than:=value
end
set_joystick_axis_game_left_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_game_left'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_left.upper_than:=value
end
set_joystick_axis_game_right_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_game_right'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_right.axis_id:=value
end
set_joystick_axis_game_right_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_game_right'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_right.lower_than:=value
end
set_joystick_axis_game_right_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_game_right'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_right.upper_than:=value
end
set_joystick_axis_game_down_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_game_down'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_down.axis_id:=value
end
set_joystick_axis_game_down_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_game_down'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_down.lower_than:=value
end
set_joystick_axis_game_down_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_game_down'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_down.upper_than:=value
end
set_joystick_axis_game_drop_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_game_drop'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_drop.axis_id:=value
end
set_joystick_axis_game_drop_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_game_drop'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_drop.lower_than:=value
end
set_joystick_axis_game_drop_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_game_drop'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_drop.upper_than:=value
end
set_joystick_axis_game_rotate_left_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_game_rotate_left'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_rotate_left.axis_id:=value
end
set_joystick_axis_game_rotate_left_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_game_rotate_left'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_rotate_left.lower_than:=value
end
set_joystick_axis_game_rotate_left_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_game_rotate_left'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_rotate_left.upper_than:=value
end
set_joystick_axis_game_rotate_right_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_game_rotate_right'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_rotate_right.axis_id:=value
end
set_joystick_axis_game_rotate_right_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_game_rotate_right'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_rotate_right.lower_than:=value
end
set_joystick_axis_game_rotate_right_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_game_rotate_right'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_rotate_right.upper_than:=value
end
set_joystick_axis_game_hold_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_game_hold'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_hold.axis_id:=value
end
set_joystick_axis_game_hold_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_game_hold'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_hold.lower_than:=value
end
set_joystick_axis_game_hold_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_game_hold'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_hold.upper_than:=value
end
set_joystick_axis_game_pause_axis_id(value:NATURAL_8)
-- Assign `joystick_axis_game_pause'.`axis_id' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_pause.axis_id:=value
end
set_joystick_axis_game_pause_lower_than(value:INTEGER_16)
-- Assign `joystick_axis_game_pause'.`lower_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_pause.lower_than:=value
end
set_joystick_axis_game_pause_upper_than(value:INTEGER_16)
-- Assign `joystick_axis_game_pause'.`upper_than' with `value'
require
Is_Joystick_Axis_Enable:joystick_axis_enable
do
joystick_axis_game_pause.upper_than:=value
end
end