Home
last modified time | relevance | path

Searched refs:jbutton (Results 1 – 25 of 446) sorted by relevance

12345678910>>...18

/dports/emulators/jzintv/jzintv-20200712-src/src/joy/
H A Djoy_wii.c442 keyUpEvent[keyUpIndex].jbutton.button=JOY_BTN_09; in getWiimoteAndNunchukPadInput()
450 keyUpEvent[keyUpIndex].jbutton.button=JOY_BTN_10; in getWiimoteAndNunchukPadInput()
458 keyUpEvent[keyUpIndex].jbutton.button=JOY_BTN_11; in getWiimoteAndNunchukPadInput()
482 keyUpEvent[keyUpIndex].jbutton.button=JOY_BTN_13; in getWiimoteAndNunchukPadInput()
490 keyUpEvent[keyUpIndex].jbutton.button=JOY_BTN_02; in getWiimoteAndNunchukPadInput()
498 keyUpEvent[keyUpIndex].jbutton.button=JOY_BTN_00; in getWiimoteAndNunchukPadInput()
506 keyUpEvent[keyUpIndex].jbutton.button=JOY_BTN_01; in getWiimoteAndNunchukPadInput()
770 keyUpEvent[keyUpIndex].jbutton.button=JOY_BTN_09; in getClassicControllerPadInput()
778 keyUpEvent[keyUpIndex].jbutton.button=JOY_BTN_10; in getClassicControllerPadInput()
786 keyUpEvent[keyUpIndex].jbutton.button=JOY_BTN_11; in getClassicControllerPadInput()
[all …]
/dports/games/tecnoballz/tecnoballz-0.93.1/src/
H A Dhandler_keyboard.cc246 if (event->jbutton.button >= GP2X_NUM_BUTTONS) in handle_console_buttons()
281 if (event->jbutton.button == GP2X_BUTTON_A in handle_console_buttons()
400 if (event->jbutton.button >= PSP_NUM_BUTTONS) in handle_console_buttons()
848 if (event.jbutton.button == 2) in read_events()
853 else if (event.jbutton.button == 0) in read_events()
858 else if (event.jbutton.button == 1) in read_events()
863 else if (event.jbutton.button > 2) in read_events()
875 if (event.jbutton.button == 2) in read_events()
880 else if (event.jbutton.button == 0) in read_events()
885 else if (event.jbutton.button == 1) in read_events()
[all …]
/dports/devel/godot2-tools/godot-demo-projects-2.1.4-stable/2d/split_screen_platformer/
H A Dengine.cfg22 move_left1=[key(A), jbutton(1, 14)]
23 move_right1=[key(D), jbutton(1, 15)]
24 jump1=[key(W), jbutton(1, 0)]
25 shoot1=[key(Space), jbutton(1, 2)]
26 spawn1=[key(F2), jbutton(1, 11)]
27 move_left0=[key(Left), jbutton(0, 14)]
28 move_right0=[key(Right), jbutton(0, 15)]
29 jump0=[key(Up), jbutton(0, 0)]
30 shoot0=[key(Return), jbutton(0, 2)]
31 spawn0=[key(F1), jbutton(0, 11)]
/dports/games/openbor3711/openbor-6ec17fa/engine/sdl/
H A Dcontrol.c55 if(ev.jbutton.which == i) in getPads()
59 if(ev.jbutton.button <= 3 && (joysticks[i].Buttons & JoystickBits[ev.jbutton.button + 5])) in getPads()
61 else if(ev.jbutton.button >= 4 && ev.jbutton.button <= 7) in getPads()
63 …else if(ev.jbutton.button >= 8 && ev.jbutton.button <= 16 && (joysticks[i].Buttons & JoystickBits[… in getPads()
68 …if(ev.jbutton.button == 0 || ev.jbutton.button == 7 || ev.jbutton.button == 1) joysticks[i].Hats &… in getPads()
69 …if(ev.jbutton.button == 6 || ev.jbutton.button == 5 || ev.jbutton.button == 7) joysticks[i].Hats &… in getPads()
70 …if(ev.jbutton.button == 4 || ev.jbutton.button == 3 || ev.jbutton.button == 5) joysticks[i].Hats &… in getPads()
71 …if(ev.jbutton.button == 2 || ev.jbutton.button == 1 || ev.jbutton.button == 3) joysticks[i].Hats &… in getPads()
72 …if(ev.jbutton.button >= 8 && ev.jbutton.button <= 18) joysticks[i].Buttons &= ~(JoystickBits[ev.jb… in getPads()
82 if(ev.jbutton.which == i) in getPads()
[all …]
/dports/games/openbor3482/openbor-2c1ecd7/engine/sdl/
H A Dcontrol.c55 if(ev.jbutton.which == i) in getPads()
59 if(ev.jbutton.button <= 3 && (joysticks[i].Buttons & JoystickBits[ev.jbutton.button + 5])) in getPads()
61 else if(ev.jbutton.button >= 4 && ev.jbutton.button <= 7) in getPads()
63 …else if(ev.jbutton.button >= 8 && ev.jbutton.button <= 16 && (joysticks[i].Buttons & JoystickBits[… in getPads()
68 …if(ev.jbutton.button == 0 || ev.jbutton.button == 7 || ev.jbutton.button == 1) joysticks[i].Hats &… in getPads()
69 …if(ev.jbutton.button == 6 || ev.jbutton.button == 5 || ev.jbutton.button == 7) joysticks[i].Hats &… in getPads()
70 …if(ev.jbutton.button == 4 || ev.jbutton.button == 3 || ev.jbutton.button == 5) joysticks[i].Hats &… in getPads()
71 …if(ev.jbutton.button == 2 || ev.jbutton.button == 1 || ev.jbutton.button == 3) joysticks[i].Hats &… in getPads()
72 …if(ev.jbutton.button >= 8 && ev.jbutton.button <= 18) joysticks[i].Buttons &= ~(JoystickBits[ev.jb… in getPads()
82 if(ev.jbutton.which == i) in getPads()
[all …]
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/awt/Mixing/
H A DJButtonInGlassPane.java72 final JButton jbutton = new JButton("JButton"); in init() local
73 jbutton.setBounds(50,50,100,100); in init()
74 glassPane.add(jbutton); in init()
76 jbutton.setVisible(false); in init()
87 jbutton.setVisible(true); in init()
92 Point lLoc = jbutton.getLocationOnScreen(); in init()
93 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
99 jbutton.setBounds(50,50,120,120); in init()
104 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/awt/Mixing/
H A DJButtonInGlassPane.java72 final JButton jbutton = new JButton("JButton"); in init() local
73 jbutton.setBounds(50,50,100,100); in init()
74 glassPane.add(jbutton); in init()
76 jbutton.setVisible(false); in init()
87 jbutton.setVisible(true); in init()
92 Point lLoc = jbutton.getLocationOnScreen(); in init()
93 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
99 jbutton.setBounds(50,50,120,120); in init()
104 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/awt/Mixing/
H A DJButtonInGlassPane.java72 final JButton jbutton = new JButton("JButton"); in init() local
73 jbutton.setBounds(50,50,100,100); in init()
74 glassPane.add(jbutton); in init()
76 jbutton.setVisible(false); in init()
87 jbutton.setVisible(true); in init()
92 Point lLoc = jbutton.getLocationOnScreen(); in init()
93 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
99 jbutton.setBounds(50,50,120,120); in init()
104 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/awt/Mixing/
H A DJButtonInGlassPane.java72 final JButton jbutton = new JButton("JButton"); in init() local
73 jbutton.setBounds(50,50,100,100); in init()
74 glassPane.add(jbutton); in init()
76 jbutton.setVisible(false); in init()
87 jbutton.setVisible(true); in init()
92 Point lLoc = jbutton.getLocationOnScreen(); in init()
93 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
99 jbutton.setBounds(50,50,120,120); in init()
104 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/awt/Mixing/
H A DJButtonInGlassPane.java72 final JButton jbutton = new JButton("JButton"); in init() local
73 jbutton.setBounds(50,50,100,100); in init()
74 glassPane.add(jbutton); in init()
76 jbutton.setVisible(false); in init()
87 jbutton.setVisible(true); in init()
92 Point lLoc = jbutton.getLocationOnScreen(); in init()
93 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
99 jbutton.setBounds(50,50,120,120); in init()
104 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/awt/Mixing/
H A DJButtonInGlassPane.java72 final JButton jbutton = new JButton("JButton"); in init() local
73 jbutton.setBounds(50,50,100,100); in init()
74 glassPane.add(jbutton); in init()
76 jbutton.setVisible(false); in init()
87 jbutton.setVisible(true); in init()
92 Point lLoc = jbutton.getLocationOnScreen(); in init()
93 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
99 jbutton.setBounds(50,50,120,120); in init()
104 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/awt/Mixing/
H A DJButtonInGlassPane.java72 final JButton jbutton = new JButton("JButton"); in init() local
73 jbutton.setBounds(50,50,100,100); in init()
74 glassPane.add(jbutton); in init()
76 jbutton.setVisible(false); in init()
87 jbutton.setVisible(true); in init()
92 Point lLoc = jbutton.getLocationOnScreen(); in init()
93 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
99 jbutton.setBounds(50,50,120,120); in init()
104 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/awt/Mixing/
H A DJButtonInGlassPane.java72 final JButton jbutton = new JButton("JButton"); in init() local
73 jbutton.setBounds(50,50,100,100); in init()
74 glassPane.add(jbutton); in init()
76 jbutton.setVisible(false); in init()
87 jbutton.setVisible(true); in init()
92 Point lLoc = jbutton.getLocationOnScreen(); in init()
93 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
99 jbutton.setBounds(50,50,120,120); in init()
104 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
/dports/games/mrboom/MrBoom-src-5.2/sdl2/
H A Dsdl2.cpp618 e.jbutton.which, e.jbutton.button); in pollEvent()
620 switch (e.jbutton.button) in pollEvent()
623 updateInput(button_a, getPlayerFromJoystickPort(e.jbutton.which), 1, false); in pollEvent()
627 updateInput(button_b, getPlayerFromJoystickPort(e.jbutton.which), 1, false); in pollEvent()
631 updateInput(button_x, getPlayerFromJoystickPort(e.jbutton.which), 1, false); in pollEvent()
635 updateInput(button_y, getPlayerFromJoystickPort(e.jbutton.which), 1, false); in pollEvent()
639 updateInput(button_l, getPlayerFromJoystickPort(e.jbutton.which), 1, false); in pollEvent()
678 anyButtonPushedMask = anyButtonPushedMask | (1 << e.jbutton.button); in pollEvent()
685 e.jbutton.which, e.jbutton.button); in pollEvent()
687 switch (e.jbutton.button) in pollEvent()
[all …]
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/java/awt/Mixing/
H A DJButtonInGlassPane.java82 final JButton jbutton = new JButton("JButton"); in init() local
83 jbutton.setBounds(50,50,100,100); in init()
84 glassPane.add(jbutton); in init()
86 jbutton.setVisible(false); in init()
97 jbutton.setVisible(true); in init()
102 Point lLoc = jbutton.getLocationOnScreen(); in init()
103 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
109 jbutton.setBounds(50,50,120,120); in init()
114 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/java/awt/Mixing/
H A DJButtonInGlassPane.java82 final JButton jbutton = new JButton("JButton"); in init() local
83 jbutton.setBounds(50,50,100,100); in init()
84 glassPane.add(jbutton); in init()
86 jbutton.setVisible(false); in init()
97 jbutton.setVisible(true); in init()
102 Point lLoc = jbutton.getLocationOnScreen(); in init()
103 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
109 jbutton.setBounds(50,50,120,120); in init()
114 robot.mouseMove(lLoc.x + jbutton.getWidth() - 5, lLoc.y + jbutton.getHeight() - 5); in init()
/dports/games/openbor3979/openbor-2bcf25b/engine/sdl/
H A Dcontrol.c146 if(ev.jbutton.which == i) in getPads()
150 if(ev.jbutton.button <= 3 && (joysticks[i].Buttons & JoystickBits[ev.jbutton.button + 5])) in getPads()
152 else if(ev.jbutton.button >= 4 && ev.jbutton.button <= 7) in getPads()
154 …else if(ev.jbutton.button >= 8 && ev.jbutton.button <= 16 && (joysticks[i].Buttons & JoystickBits[… in getPads()
159 …if(ev.jbutton.button == 0 || ev.jbutton.button == 7 || ev.jbutton.button == 1) joysticks[i].Hats &… in getPads()
160 …if(ev.jbutton.button == 6 || ev.jbutton.button == 5 || ev.jbutton.button == 7) joysticks[i].Hats &… in getPads()
161 …if(ev.jbutton.button == 4 || ev.jbutton.button == 3 || ev.jbutton.button == 5) joysticks[i].Hats &… in getPads()
162 …if(ev.jbutton.button == 2 || ev.jbutton.button == 1 || ev.jbutton.button == 3) joysticks[i].Hats &… in getPads()
163 …if(ev.jbutton.button >= 8 && ev.jbutton.button <= 18) joysticks[i].Buttons &= ~(JoystickBits[ev.jb… in getPads()
173 if(ev.jbutton.which == i) in getPads()
[all …]
/dports/games/powermanga/powermanga-0.93.1/src/
H A Ddisplay_sdl.c641 if (event->jbutton.button >= GP2X_NUM_BUTTONS) in display_handle_console_buttons()
676 if (event->jbutton.button == GP2X_BUTTON_A in display_handle_console_buttons()
682 if (event->jbutton.button == GP2X_BUTTON_X in display_handle_console_buttons()
719 if (event->jbutton.button == GP2X_BUTTON_A in display_handle_console_buttons()
725 if (event->jbutton.button == GP2X_BUTTON_X in display_handle_console_buttons()
771 if (event->jbutton.button >= PSP_NUM_BUTTONS) in display_handle_console_buttons()
777 psp_buttons[event->jbutton.button] = TRUE; in display_handle_console_buttons()
796 if (event->jbutton.button == PSP_BUTTON_A) in display_handle_console_buttons()
800 if (event->jbutton.button == PSP_BUTTON_X) in display_handle_console_buttons()
826 if (event->jbutton.button == PSP_BUTTON_A) in display_handle_console_buttons()
[all …]
/dports/devel/libzookeeper/apache-zookeeper-3.7.0/zookeeper-contrib/zookeeper-contrib-zooinspector/src/main/java/org/apache/zookeeper/inspector/gui/
H A DToolbar.java60 JButton jbutton = button.createJButton(iconResource); in init() local
61 buttons.put(button, jbutton); in init()
62 toolbar.add(jbutton); in init()
86 JButton jbutton = new JButton(iconResource.get(icon, toolTip)); in createJButton() local
87 jbutton.setEnabled(enabled); in createJButton()
88 jbutton.setToolTipText(toolTip); in createJButton()
89 return jbutton; in createJButton()
/dports/devel/godot2-tools/godot-demo-projects-2.1.4-stable/2d/platformer/
H A Dengine.cfg22 move_left=[key(Left), jbutton(0, 14)]
23 move_right=[key(Right), jbutton(0, 15)]
24 jump=[key(Up), jbutton(0, 0)]
25 shoot=[key(Space), jbutton(0, 2)]
26 spawn=[key(F1), jbutton(0, 11)]
/dports/emulators/gngeo/gngeo-gngeo_0.8/src/
H A Devent.c95 jmap->jbutton[jid][code].player=player; in create_joymap_from_string()
96 jmap->jbutton[jid][code].map=get_mapid(butid); in create_joymap_from_string()
125 jmap->jbutton=calloc(conf.nb_joy,sizeof(struct BUT_MAP*)); in init_event()
137 jmap->jbutton[i]=calloc(SDL_JoystickNumButtons(conf.joy[i]),sizeof(struct BUT_MAP)); in init_event()
154 if (event->jbutton.which==0) { in handle_pdep_event()
155 if (event->jbutton.button==GP2X_VOL_UP && conf.sound) { in handle_pdep_event()
163 if (event->jbutton.button==GP2X_VOL_DOWN && conf.sound) { in handle_pdep_event()
334 int player=jmap->jbutton[event.jbutton.which][event.jbutton.button].player; in handle_event()
335 int map=jmap->jbutton[event.jbutton.which][event.jbutton.button].map; in handle_event()
347 int player=jmap->jbutton[event.jbutton.which][event.jbutton.button].player; in handle_event()
[all …]
/dports/games/openglad/openglad-0.98/src/
H A Dinput.cpp163 …key_list[joy_startval[event->jbutton.which] + joy_numaxes[event->jbutton.which] * 2 + event->jbutt… in handle_events()
164 …raw_key = joy_startval[event->jbutton.which] + joy_numaxes[event->jbutton.which] * 2 + event->jbut… in handle_events()
168 …key_list[joy_startval[event->jbutton.which] + joy_numaxes[event->jbutton.which] * 2 + event->jbutt… in handle_events()
/dports/games/megamario/MegaMario_v1.7_full/src/
H A Dgamepad.cpp120 if( event.jbutton.button == 0 ) in Handle_Event()
124 else if( event.jbutton.button == 1 ) in Handle_Event()
128 else if( event.jbutton.button == 2 ) in Handle_Event()
137 if( event.jbutton.button == 0 ) in Handle_Event()
141 if( event.jbutton.button == 1 ) in Handle_Event()
145 if( event.jbutton.button == 2 ) in Handle_Event()
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/javax/swing/reliability/
H A DTaskZoomJFrameRepaint.java51 gui.jframe2.getContentPane().add(gui.jbutton); in task()
62 buttonOrigin = gui.jbutton.getLocationOnScreen(); in task()
99 newbuttonOrigin = gui.jbutton.getLocationOnScreen(); in task()
101 newbuttonCenter = gui.jbutton.getLocationOnScreen(); in task()
102 newbuttonCenter.translate(gui.jbutton.getWidth()/2, gui.jbutton.getHeight()/2); in task()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/javax/swing/reliability/
H A DTaskZoomJFrameRepaint.java51 gui.jframe2.getContentPane().add(gui.jbutton); in task()
62 buttonOrigin = gui.jbutton.getLocationOnScreen(); in task()
99 newbuttonOrigin = gui.jbutton.getLocationOnScreen(); in task()
101 newbuttonCenter = gui.jbutton.getLocationOnScreen(); in task()
102 newbuttonCenter.translate(gui.jbutton.getWidth()/2, gui.jbutton.getHeight()/2); in task()

12345678910>>...18