CN101455903A - Game handle for FPS game and positioning method thereof - Google Patents

Game handle for FPS game and positioning method thereof Download PDF

Info

Publication number
CN101455903A
CN101455903A CN 200810241882 CN200810241882A CN101455903A CN 101455903 A CN101455903 A CN 101455903A CN 200810241882 CN200810241882 CN 200810241882 CN 200810241882 A CN200810241882 A CN 200810241882A CN 101455903 A CN101455903 A CN 101455903A
Authority
CN
China
Prior art keywords
axis
rocking bar
control chip
main control
right rocking
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200810241882
Other languages
Chinese (zh)
Inventor
何江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN 200810241882 priority Critical patent/CN101455903A/en
Publication of CN101455903A publication Critical patent/CN101455903A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Position Input By Displaying (AREA)

Abstract

The invention discloses a game handle for an FPS game and a positioning method thereof, which aims to solve the technical problem that a handle can accurately position. The game handle is provided with a left rocking lever; a master control chip is arranged in the game handle; a trackball is arranged on the game handle; a displacement sensor is arranged below the track ball; and the displacement sensor transmits a displacement signal to the master control chip. The positioning method of the game handle comprises the following steps: the master control chip superimposes a signal of a pressure sensor, status of an accurate positioning activated key, a middle dead area value of a right rocking lever and a displacement signal of the trackball to be transmitted to a game host. Compared with the prior art, in the game handle, the trackball with the pressure sensor simulates action of the right rocking lever and action of a mouse; and the displacement sensor transmits the displacement signal of the trackball to the master control chip for accurate positioning, so that a user can experience comfortable hand feeling of the game handle, strong game shocking effect, quick and flexible motion control of the rocking lever and accurate positioning of the mouse when the user plays an electronic game.

Description

The game paddle and the localization method thereof that are used for the FPS recreation
Technical field
The present invention relates to a kind of recreation and handle input equipment and localization method thereof, the game paddle and the localization method thereof of particularly a kind of video game or computer game.
Background technology
Game paddle is a topmost input equipment in video game or the computer game, it is left rocking bar and right rocking bar that common game paddle generally all can have 16 function buttons and two rocking bars, rocking bar has X-axis and Y-axis, main control chip read left and right rocking bar X, Y-axis the position and be converted to corresponding data format and give game host, the player can control corresponding actions in the recreation by the position that changes left rocker.General right rocking bar is used to control the aiming of visual angle or rifle in FPS (First Person Shooting, first person shooting) recreation.The rocking bar X of common game paddle, Y-axis numerical value is defined as: if the not mobile rocking bar of user, rocking bar mediates, X-axis output median 128 (the most left 0, the rightest 255), Y-axis output median 128 (goes up 0 most, the most following 255) give game host, suppose that at this moment right rocking bar is the foresight of control rifle, at this moment the foresight of rifle can not move, when the user is moved to the left rocking bar, the foresight of rifle can be moved to the left according to certain speed according to the amount that the X axis left avertence that right rocking bar send is moved, and gets over to the left side when rocking bar, and the speed that the foresight of rifle moves to the left side is fast more, when right rocking bar X-axis exports 0, the foresight of rifle to the left side move fastest, same, handle rocking bar to the right, also be the same up or down.Because in fact rocking bar has only about 1cm from the centre to leftmost distance, when needs accurately aimed at, the foresight that allow rocking bar have slight skew to control rifle slowly moved the comparison difficulty that just seems, caused the difficult accurately location of user.Accurately the location is relatively more difficult in the FPS recreation because this specific character of conventional handle rocking bar itself makes handle, makes the user very sorry.Popular online game can't accurately aim at owing to conventional handle in the particularly present computer game, the user adopts keyboard, mouse as input equipment, but with keyboard, mouse because sitting posture is comparatively fixing, time has been grown can be more tired, do not have the vibrating effect of lever operated comfort feel and recreation to experience, therefore playing games with keyboard and mouse or handle respectively has its pluses and minuses.
Summary of the invention
The purpose of this invention is to provide a kind of game paddle and localization method thereof of the FPS of being used for recreation, the technical problem that solve is that handle can accurately be located.
The present invention is by the following technical solutions: the game paddle that is used for the FPS recreation, game paddle is provided with left rocking bar, main control chip is arranged in the game paddle, described game paddle is provided with trace ball, trace ball has displacement transducer, and displacement transducer passes to main control chip with the displacement signal of the trace ball that collects.
Trace ball of the present invention below is provided with pressure sensor, and pressure sensor is arranged between upper plate and the lower plate, and pressure sensor is converted to voltage signal with the pressure signal of sensing and passes to main control chip.
Displacement transducer of the present invention adopts mouse to pipe, the Y-axis rotating shaft of mouse to pipe is set above the spin of trace ball, the spin side is provided with the X-axis rotating shaft of mouse to pipe, the Y-axis rotating shaft contacts with spin with the X-axis rotating shaft, the Y-axis rotating shaft is provided with Y-axis infrarede emitting diode, Y-axis photoelectric receiving tube, Y-axis code wheel, the X-axis rotating shaft is provided with X-axis infrarede emitting diode, X-axis photoelectric receiving tube, X-axis code wheel, the Y-axis photoelectric receiving tube is connected with the mouse data conversion chip respectively with the X-axis photoelectric receiving tube, and the mouse data conversion chip is connected to main control chip.
Displacement transducer of the present invention adopts optical sensing devices, and the spin side of trace ball is provided with the optical lens of optical sensing devices, is provided with optical pickocff in the optical sensing devices, luminous or laser diode, and optical pickocff is connected with main control chip.
A kind of game paddle localization method that is used for the FPS recreation may further comprise the steps: one, the voltage output signal of the main control chip detected pressures sensor of game paddle; Two, main control chip detects the trace ball displacement signal; Three, main control chip is with the signal of pressure sensor, accurately locate the displacement signal stack of dead band value and trace ball in the middle of the activate key state, right rocking bar; Signal after main control chip will superpose is given game host.
Before the voltage output signal of main control chip detected pressures sensor of the present invention, The dead time in the middle of activate key and the right rocking bar is accurately located the middle dead band value of right rocking bar in activate key and the recreation.
The effect that pressure sensor of the present invention is subjected to power changes the voltage output signal, and the voltage output that main control chip reads pressure sensor by the A/D conversion changes.
Main control chip of the present invention reads trace ball by the cycle and moves data, notes the movement value of spin X-axis, Y-axis, and waits for that next cycle period reads data.
Main control chip of the present invention is with the signal of pressure sensor, accurately locate that the displacement signal stack of dead band value and trace ball transfers right rocking bar data in the middle of the activate key state, right rocking bar.
Game paddle of the present invention is provided with a right rocking bar, and the stack of the displacement signal of dead band value and trace ball transfers right rocking bar data in the middle of the X-axis that main control chip moves right rocking bar and the movement value of Y-axis, the right rocking bar.
The present invention compared with prior art, the trace ball that will have pressure sensor is simulated right rocking bar action and mouse action, displacement transducer passes to main control chip with the displacement signal of trace ball, the action control signal that main control chip can be converted into normal right rocking bar action control signal or mouse mode sends game host to, in recreation, locate fast or accurately locate, make the user in video game or computer game, can experience the handle comfort feel simultaneously, strong recreation vibrating effect, the accurate location of the motion control of rocking bar fast and flexible and mouse.
Description of drawings
Fig. 1 is the outward appearance layout of the embodiment of the invention 1.
Fig. 2 is the track-ball structure schematic diagram of the embodiment of the invention 1.
Fig. 3 is the embodiment of the invention 1 and 2 usefulness mouses detect the trace ball motion to pipe a structural representation.
Fig. 4 is the structural representation that the embodiment of the invention 1 and 2 usefulness optical pickocffs are surveyed the trace ball motion.
Fig. 5 is the embodiment of the invention 1 usefulness mouse detects the trace ball motion to pipe a circuit block diagram.
Fig. 6 is the circuit block diagram that the embodiment of the invention 1 usefulness optical pickocff is surveyed the trace ball motion.
Fig. 7 is the circuit diagram of game paddle embodiment 1 of the present invention.
Fig. 8 is the control flow chart of the main control chip of the embodiment of the invention 1.
Fig. 9 is that the embodiment of the invention 1 detects trace ball displacement signal flow chart.
Figure 10 is the trace ball simulation rocking bar flow chart of the embodiment of the invention 1.
Figure 11 utilizes the displacement signal of trace ball to carry out accurate positioning flow figure for the embodiment of the invention 1 main control chip.
Figure 12 is the embodiment of the invention 1 a right rocking bar The dead time flow chart.
Figure 13 is the outward appearance layout of the embodiment of the invention 2.
Figure 14 is the embodiment of the invention 2 usefulness mouses detect the trace ball motion to pipe a circuit block diagram.
Figure 15 is the circuit block diagram that the embodiment of the invention 2 usefulness optical pickocffs are surveyed the trace ball motion.
Figure 16 is the main program flow chart of the main control chip of the embodiment of the invention 2.
Figure 17 utilizes the displacement signal of trace ball to carry out accurate positioning flow figure for the embodiment of the invention 2 main control chips.
Figure 18 is the embodiment of the invention 2 right rocking bar The dead time flow charts.
Figure 19 is the circuit diagram of game paddle embodiment 2 of the present invention.
The specific embodiment
Below in conjunction with drawings and Examples the present invention is described in further detail.
Embodiment 1, the game paddle that is used for the FPS recreation of the present invention, as shown in Figure 1, be provided with trace ball 1, left rocking bar 2, directionkeys 3, mouse function on game paddle button and mouse indicator lamp 4 and handle function button 5 are set, trace ball 1 has pressure sensor.
As shown in Figure 2, below the trace ball 1, be provided with a pressure sensor 9 between upper plate 6 below spin 7, in the game paddle and the lower plate 10, when staff touching spin 7, spin 7 contact upper plates 6, upper plate 6 press pressure sensors 9, pressure sensor 9 is converted to voltage signal with the pressure signal of induction and passes to main control chip and discern.
As shown in Figure 3, mouse is to the displacement transducer of pipe as trace ball 1, trace ball 1 comprises spin 7, and sensor comprises Y-axis rotating shaft 11, Y-axis photoelectric receiving tube 12, Y-axis code wheel 13, Y-axis infrarede emitting diode 14, X-axis rotating shaft 15, X-axis photoelectric receiving tube 16, X-axis code wheel 17, X-axis infrarede emitting diode 18.Y-axis rotating shaft 11 is set above the spin 7, spin 7 sides are provided with X-axis rotating shaft 15, Y-axis rotating shaft 11 contacts with spin 7 with X-axis rotating shaft 15, Y-axis rotating shaft 11 is provided with Y-axis infrarede emitting diode 14, Y-axis photoelectric receiving tube 12, Y-axis code wheel 13, and X-axis rotating shaft 15 is provided with X-axis infrarede emitting diode 18, X-axis photoelectric receiving tube 16, X-axis code wheel 17.
As shown in Figure 5, game paddle is provided with main control chip, main control chip connects mouse data conversion chip, left rocking bar, mouse indicator lamp, motor and drive circuit, mouse function is provided with button, handle function key groups and pressure sensor, the mouse data conversion chip is connected to X-axis, Y-axis photoelectric receiving tube, main control chip and game host wired connection are given game host by cable with data.
In the time of before operate as normal, main control chip at first needs " accurately locating activate key " is set, as handle function button 5, " dead band value in the middle of the right rocking bar ", as shown in figure 12, may further comprise the steps: one, main control chip judges whether in the The dead time pattern, if, change step 2; If do not exist, judged whether that then mouse function is provided with key and presses, if do not press, then return; If press, then enter the The dead time pattern, the flicker of mouse lamp, dead band value is initialized as 0 in the middle of the right rocking bar, and returns; Press if two have the mouse parameter that key is set, then withdraw from the The dead time pattern, the mouse lamp goes out; If do not press, then carry out next step; If three are not provided with state at accurate location activate key, change step 4.If activate key is provided with state in accurate location, but does not have button to press, return; If have button by this key of next storage as accurate location activate key, and be provided with to enter and adjust the dead band step, return; If four directionkeys " on " key presses, dead band value+1 in the middle of dead band value in the middle of the then right rocking bar=right rocking bar; If do not press, then carry out next step; Four, the D score key of main control chip judgement directionkeys is pressed, dead band value-1 in the middle of dead band value in the middle of the then right rocking bar=right rocking bar, and change next step execution.If do not press, then change next step execution; Five, the middle dead band value of the right rocking bar of right rocking bar X value=128+ is set, returns.
During work when staff is not touched trace ball, magnitude of voltage of pressure sensor output, when staff touching trace ball, there is indirect power to be applied on the pressure sensor, the effect that pressure sensor is experienced power changes the voltage output signal, and the voltage output that main control chip reads pressure sensor by the A/D conversion changes a parameter of handling as follow-up signal.
The spin rotation, X-axis rotating shaft and Y-axis rotating shaft are rotated, drive X respectively, the Y code wheel rotates, X, the Y photoelectric receiving tube receives through X, the X that the transmission of Y code wheel comes, the signal of Y infrarede emitting diode, with this X, Y-signal is sent to the mouse data conversion chip, main control chip reads the X that the mouse data conversion chip obtains spin, the Y-axis movement value, and and the signal of pressure sensor, the displacement signal of trace ball, accurately locate the activate key state, after dead band value superposes in the middle of the right rocking bar that has been provided with, being converted to game host can the recognition data format signal, gives game host.
As shown in Figure 4, trace ball 1 comprises spin 7, and spin 7 sides are provided with optical sensing devices, and the optical lens 21 of optical sensing devices is arranged on the position near spin 7, is provided with optical pickocff 22 in the optical sensing devices, luminous or laser diode 23.
As shown in Figure 6, game paddle is provided with main control chip, and main control chip connects optical pickocff, left rocking bar, mouse indicator lamp, motor and drive circuit, mouse function is provided with button, handle function key groups and pressure sensor.
During work, the light luminous or laser diode sends, illuminate spin, a part of light from the roller surface reflected back, through optical lens, be transferred to optical pickocff, when spin is rotated, the deformation trace of its spin sphere is write down and is converted to X-axis by optical pickocff, the displacement signal of Y-axis, main control chip reads the displacement signal that optical pickocff is sent, and and the right rocking bar that has been provided with in the middle of dead band value, accurately locate the activate key state, after the signal of pressure sensor superposeed, being converted to game host can the recognition data format signal, gives game host.
As shown in Figure 7, main control chip adopts WT6573F, and the mouse data conversion chip adopts EM84510, and pressure sensor adopts TP015P, and its output signal is given main control chip by differential voltage amplifier.
As shown in Figure 8, the game paddle localization method that is used for the FPS recreation of the present invention, may further comprise the steps: one, game paddle powers on, initialization; Two, main control chip reads the trace ball displacement signal, and X-axis that trace ball is sent or Y-axis displacement signal are the data formats of 0-255, and 0-127 represents the unit distance that trace ball moves to positive direction, and 0 for not moving, and 127 for to move ultimate range to positive direction; 255-128 represents the unit distance that trace ball moves to negative direction, carries out 8 binary subtracts with 0 with these data and obtains the unit distance that trace ball moves to negative direction; Trace ball also can send current spin X-axis and Y-axis is that two signal bits that positive direction moves or negative direction moves read judgement for main control chip; Three, main control chip is modeled as X-axis, the Y-axis value that right rocking bar moves and is converted to right rocking bar with the displacement signal of trace ball; Four, main control chip obtains the displacement signal stack computing of dead band value and trace ball in the middle of the right rocking bar accurate framing signal and transfers right rocking bar X-axis, Y-axis value to; Five, main control chip carries out the middle The dead time of right rocking bar; Six, main control chip right rocking bar X-axis, Y-axis value that computing is obtained is converted to the signal that main frame can discern and gives game host.
As shown in Figure 9, main control chip detects the trace ball displacement signal, and may further comprise the steps: one, main control chip reads trace ball by cycle time and moves data; There is spin to move if two, main control chip is judged, then notes the movement value of spin X-axis, Y-axis, and wait for that next cycle period reads data,, wait for that then next cycle period reads data if there is not spin to move.
As shown in figure 10, accurately locating not depressed state of activate key, main control chip is the motion of right rocking bar with the motion simulation of trace ball spin, and can be placed on the upper plate below the trace ball and the size of the pressure sensor output valve between the lower plate, the action of simulating middle action of returning of right rocking bar (right rocking bar X-axis value, the Y-axis value of promptly giving game host equal 128) and right rocking bar depressed key by detection.Its method is following steps: one, main control chip reads the output valve of pressure sensor, if depress judgment value (being that hand changes to certain value with the voltage output signal that makes pressure sensor under certain defeating) less than trace ball, (the expression staff send out right rocking bar for then right rocking bar X-axis value=128, right rocking bar Y-axis value=128, simulate during right rocking bar returns), and give game host; If the output valve of pressure sensor is depressed judgment value greater than trace ball, then execution in step two; If the output valve of two pressure sensors is depressed judgment value greater than trace ball, right rocking bar depressed key then is set depresses (simulating right rocking bar depressed key action), and send game host, and change step 3 this action; If the output valve of pressure sensor is depressed judgment value less than trace ball, then change step 3; If being positive direction, three spin X-axis move then right rocking bar X-axis value=right rocking bar X-axis value+spin X-axis movement value, and if add up and greater than 255, then right rocking bar X-axis value=255 are changeed step 4 and are carried out; If being negative direction, the spin X-axis moves then right rocking bar X-axis value=right rocking bar X-axis value-spin X-axis movement value, and if difference and less than 0, then right rocking bar X-axis value=0, and change step 4 and carry out; If being positive direction, four spin Y-axis move then right rocking bar Y-axis value=right rocking bar Y-axis value+spin Y-axis movement value, and if add up and greater than 255, then right rocking bar Y-axis value=255, this processing finishes; If being negative direction, the spin X-axis moves then right rocking bar Y-axis value=right rocking bar Y-axis value-spin Y-axis movement value, and if difference and less than 0, then right rocking bar Y-axis value=0, this processing finishes.
As shown in figure 11, accurately locating the activate key depressed state, at this time be in accurate station-keeping mode, main control chip superposes the displacement signal of dead band value and trace ball in the middle of the right rocking bar, and transfers the mode of right rocking bar data to, may further comprise the steps: one, judge whether trace ball not action for some time, if then right rocking bar value is made as median, promptly right rocking bar X-axis value is 128, the Y-axis value is 128, and returns; If not, then carry out next step; If two, main control chip judges that spin X-axis moving direction is timing, if spin X-axis movement value is 0, then right rocking bar X-axis value=128, and change next step; If spin X-axis movement value is not 0, dead band value+spin X-axis movement value in the middle of the right rocking bar of then right rocking bar X-axis value=128+, and change next step; When if X-direction is negative, then right rocking bar X-axis value=128-[(0-spin X-axis movement value)+the middle dead band value of right rocking bar], and change next step; Three, main control chip is judged the direction of Y-axis, and Y direction is timing, if spin Y-axis movement value is 0, then right rocking bar Y-axis value=128 are returned; If spin Y-axis movement value is not 0, dead band value+spin Y-axis movement value in the middle of the right rocking bar of then right rocking bar Y-axis value=128+, and return; When if Y direction is negative, then right rocking bar Y-axis value=128-[(0-spin Y-axis movement value)+the middle dead band value of right rocking bar], and return.
Present embodiment adopts the assembler language of MCS8051 to compile realization under KEIL uVision2 environment.
Operating process:
1, at first the player presses mouse function on the game paddle and button 4 is set enters mouse function and be provided with in the pattern, at this moment have the flicker of mouse indicator lamp, indication has entered this pattern has been set, at this time press " accurately locating activate key " of needing setting earlier, the switch key of normal mode and accurate station-keeping mode when main control chip will be noted this key as operate as normal.Set up dead band in the middle of the right rocking bar just can be set behind the activate key of accurate location, at this time can by game paddle directionkeys 3 " on " dead band in the middle of key and the right rocking bar of D score key up-down adjustment.Here the implication in dead band is meant the X-axis of right rocking bar or Y-axis output greater than just action in certain value back recreation in the middle of the right rocking bar, and less than not moving in this value recreation, this value is called the middle dead band of right rocking bar.When user's adjusting is provided with dead band, right rocking bar centre, main control chip can be given game host the dead band value that the user is provided with, the user just can observe when adjusting to plays has action like this, when the user observes recreation when slight action is arranged, by mouse function button or certain Macintosh being set withdraws from mouse function pattern is set, dead band value in the middle of the main control chip right rocking bar that can remember to have set at this time, as handle the trace ball displacement signal a control parameter " dead band value in the middle of the right rocking bar ".The mouse indicator lamp goes out and indicates this pattern that withdraws from after setting up.
2, after setting up the mouse parameter, the user does not press accurate location activate key not needing to do pinpoint the time, at this moment the rolling track ball can be controlled the action in the recreation fast, when hand leaves trace ball, then be failure to actuate in the recreation, simulated the function of rocking bar like this.When needs were accurately located, the user pressed accurate location activate key, by the rolling track ball control accurately the recreation in trickle action.
Embodiment 2, as shown in figure 13, be provided with trace ball 1, left rocking bar 2, right rocking bar 30, directionkeys 3 and mouse function on game paddle button and mouse indicator lamp 4 are set, and trace ball has displacement transducer.Trace ball 1 is arranged on right rocking bar 30 belows.As shown in Figure 3, mouse to pipe as trace ball 1 displacement transducer, trace ball 1 comprises spin 7, and sensor comprises Y-axis rotating shaft 11, Y-axis photoelectric receiving tube 12, Y-axis code wheel 13, Y-axis infrarede emitting diode 14, X-axis rotating shaft 15, X-axis photoelectric receiving tube 16, X-axis code wheel 17, X-axis infrarede emitting diode 18.Y-axis rotating shaft 11 is set above the spin 7, spin 7 sides are provided with X-axis rotating shaft 15, Y-axis rotating shaft 11 contacts with spin 7 with X-axis rotating shaft 15, Y-axis rotating shaft 11 is provided with Y-axis infrarede emitting diode 14, Y-axis photoelectric receiving tube 12, Y-axis code wheel 13, and X-axis rotating shaft 15 is provided with X-axis infrarede emitting diode 18, X-axis photoelectric receiving tube 16, X-axis code wheel 17.
As shown in figure 14, game paddle is provided with main control chip, main control chip connects mouse data conversion chip, left rocker, mouse indicator lamp, motor and drive circuit, mouse function is provided with button and handle function key groups, the mouse data conversion chip is connected to X-axis light, Y-axis photoelectric receiving tube, main control chip and game host wired connection, main control chip and game host wired connection adopt USB interface and USB cable.
During work, the signal that left and right rocking bar moves is delivered to main control chip simultaneously.The spin rotation, X-axis rotating shaft and Y-axis rotating shaft are rotated, drive X, the rotation of Y code wheel respectively, X, Y photoelectric receiving tube receive the X that comes through X, the transmission of Y code wheel, the signal of Y infrarede emitting diode, this X, Y-signal are sent to the mouse data conversion chip, and main control chip reads X, the Y-axis movement value that the mouse data conversion chip obtains spin, and and after the signal that moves of right rocking bar superposes, being converted to game host can the recognition data format signal, gives game host.
As shown in Figure 4, trace ball 1 comprises spin 7, and spin 7 sides are provided with optical sensing devices, and the optical lens 21 of optical sensing devices is arranged on the position near spin 7, is provided with optical pickocff 22 in the optical sensing devices, luminous or laser diode 23.
As shown in figure 15, game paddle is provided with main control chip, and main control chip connects optical pickocff, left rocker, mouse indicator lamp, motor and drive circuit, mouse function is provided with button and handle function key groups.
Before the operate as normal, main control chip at first needs the user to carry out the middle dead band value setting of right rocking bar, and as shown in figure 18, may further comprise the steps: one, main control chip judges whether in the The dead time pattern, if, change step 2; If do not exist, judged whether that then the mouse parameter is provided with key and presses, if do not press, then return; If press, then enter the The dead time pattern, the flicker of mouse lamp, dead band value is initialized as 0 in the middle of the right rocking bar, and returns; Press if two have the mouse parameter that key is set, then withdraw from the The dead time pattern, the mouse lamp goes out.If do not press, then carry out next step; If three directionkeys; " on " key presses, dead band value+1 in the middle of dead band value in the middle of the then right rocking bar=right rocking bar; If do not press, then carry out next step; Four, main control chip is judged; The D score key of directionkeys is pressed, dead band value-1 in the middle of dead band value in the middle of the then right rocking bar=right rocking bar, and change next step execution.If do not press, then change next step execution; Five, the middle dead band value of the right rocking bar of right rocking bar X value=128+ is set, returns.
During work, a left side, the signal that right rocking bar moves is delivered to main control chip simultaneously, the light luminous or laser diode sends, illuminate spin, a part of light from the roller surface reflected back, through optical lens, be transferred to optical pickocff, when spin is rotated, the deformation trace of its spin sphere is write down and is converted to X-axis by optical pickocff, the displacement signal of Y-axis, main control chip reads the displacement signal that optical pickocff is sent, and and the signal that moves of right rocking bar, being converted to game host in the middle of the right rocking bar after the dead band value stack can the recognition data format signal, gives game host.
As shown in figure 19, main control chip adopts WT6573F, and the mouse data conversion chip adopts EM84510.
As shown in figure 16, the present invention is used for the game paddle localization method of FPS recreation, and may further comprise the steps: one, game paddle powers on, initialization; Two, the main control chip of game paddle reads the displacement signal of right rocking bar, by A/D sample right rocking bar X-axis, Y-axis adjustable resistance partial pressure value and be converted into the data format of 0-255,128 are median (be about to this value and send game host not action in recreation); Three, main control chip reads the trace ball displacement signal, X-axis that trace ball is sent or Y-axis displacement signal also are the data forms of 0-255,0-127 represents the unit distance that trace ball moves to positive direction, and 0 for not moving, and 127 for to move ultimate range to positive direction; 255-128 represents the unit distance that trace ball moves to negative direction, carries out 8 binary subtracts with 0 with these data and obtains the unit distance that trace ball moves to negative direction; Trace ball also can send current spin X-axis and Y-axis is that two signal bits that positive direction moves or negative direction moves read judgement for main control chip; Four, the displacement signal stack of dead band value and trace ball in the middle of main control chip signal that right rocking bar is moved, the right rocking bar; Five, main control chip carries out right rocking bar The dead time (user is provided with); Six, main control chip is given game host with the displacement signal of stack.
As shown in Figure 9, described main control chip detects the trace ball displacement signal, and may further comprise the steps: one, main control chip reads trace ball by cycle time and moves data; There is spin to move if two, main control chip is judged, then notes the movement value of spin X-axis, Y-axis, and wait for that next cycle period reads data.If there is not spin to move, wait for that then next cycle period reads data.
As shown in figure 17, the displacement signal of dead band value and trace ball stack in the middle of the signal that main control chip moves right rocking bar, right rocking bar, and transfer the mode of right rocking bar data to may further comprise the steps: if one, main control chip judges that right rocking bar is placed in the middle, then changes step 2; The current X-axis position of reading right rocking bar if right rocking bar is not placed in the middle, be thereby that the user has moved the data that voltage change that rocking bar makes rocking bar be used to detect the adjustable resistance output of X-axis is converted to 0-255 :-right rocking bar X-axis value (will give the data of game host), read the current Y-axis position-right rocking bar Y-axis value (will give the data of game host) of right rocking bar, and return; Two, judge whether trace ball not action for some time, if then right rocking bar value is made as median, promptly right rocking bar X-axis value is 128, and the Y-axis value is 128, and returns; If not, then carry out next step; If three, main control chip judges that spin X-axis moving direction is timing, if spin X-axis movement value is 0, then right rocking bar X-axis value=128; If spin X-axis movement value is not 0, dead band value+spin X-axis movement value in the middle of the right rocking bar of then right rocking bar X-axis value=128+; When if X-direction is negative, then right rocking bar X-axis value=128-[(0-spin X-axis movement value)+the middle dead band value of right rocking bar]; Four, main control chip is judged the direction of Y-axis, and Y direction is timing, if spin Y-axis movement value is 0, then right rocking bar Y-axis value=128 are returned; If spin Y-axis movement value is not 0, dead band value+spin Y-axis movement value in the middle of the right rocking bar of then right rocking bar Y-axis value=128+, and return; When if Y direction is negative, then right rocking bar Y-axis value=128-[(0-spin Y-axis movement value)+the middle dead band value of right rocking bar], and return.
As shown in figure 18, main control chip carries out the middle dead band value setting of right rocking bar, and may further comprise the steps: one, main control chip judges whether in the The dead time pattern, if, change step 2; If do not exist, judged whether that then the mouse parameter is provided with key and presses, if do not press, then return; If press, then enter the The dead time pattern, the flicker of mouse lamp, dead band value is initialized as 0 in the middle of the right rocking bar, and returns; Press if two have the mouse parameter that key is set, then withdraw from the The dead time pattern, the mouse lamp goes out.If do not press, then carry out next step; If three directionkeys; " on " key presses, dead band value+1 in the middle of dead band value in the middle of the then right rocking bar=right rocking bar; If do not press, then carry out next step; Four, main control chip is judged; The D score key of directionkeys is pressed, dead band value-1 in the middle of dead band value in the middle of the then right rocking bar=right rocking bar, and change next step execution.If do not press, then change next step execution; Five, the middle dead band value of the right rocking bar of right rocking bar X value=128+ is set, returns.
Adopt the assembler language of MCS8051 under KEIL uVision2 environment, to compile realization.
Operating process:
1, at first game paddle enters mouse function by function setting button 3 and is provided with in the pattern, at this moment have the flicker of mouse indicator lamp, indication has entered this pattern has been set, at this time can by the directionkeys on the game paddle " on " dead band in the middle of key and the right rocking bar of D score key up-down adjustment.Here the implication in dead band is meant the X-axis of right rocking bar or Y-axis output greater than just action in certain value back recreation in the middle of the right rocking bar, and less than not moving in this value recreation, this value is called the middle dead band of right rocking bar.When user's adjusting is provided with dead band, right rocking bar centre, main control chip can be given game host user's dead band value, the user just can observe when adjusting to plays has action like this, when the user observes recreation when slight action is arranged, by mouse function button or certain Macintosh being set withdraws from mouse function pattern is set, dead band value in the middle of the main control chip right rocking bar that can remember to have set at this time, as handle the trace ball displacement signal a control parameter " dead band value in the middle of the right rocking bar ".The mouse indicator lamp goes out and indicates this pattern that withdraws from after setting up.
2, after setting up the mouse parameter, the user is not needing to do pinpoint the time, can control action in the recreation fast by right rocking bar, when needs are accurately located, the user unclamps right rocking bar, by the rolling track ball control accurately the recreation in trickle action.

Claims (10)

1. the game paddle that is used for the FPS recreation, game paddle is provided with left rocking bar (2), main control chip is arranged in the game paddle, it is characterized in that: described game paddle is provided with trace ball (1), trace ball (1) has displacement transducer, and displacement transducer passes to main control chip with the displacement signal of the trace ball (1) that collects.
2. the game paddle that is used for the FPS recreation according to claim 1, it is characterized in that: described trace ball (1) below is provided with pressure sensor (9), pressure sensor (9) is arranged between upper plate (6) and the lower plate (10), and pressure sensor (9) is converted to voltage signal with the pressure signal of sensing and passes to main control chip.
3. the game paddle that is used for the FPS recreation according to claim 2, it is characterized in that: described displacement transducer adopts mouse to pipe, the Y-axis rotating shaft (11) of mouse to pipe is set above the spin (7) of trace ball (1), spin (10) side is provided with the X-axis rotating shaft (15) of mouse to pipe, Y-axis rotating shaft (11) contacts with spin (10) with X-axis rotating shaft (15), Y-axis rotating shaft (11) is provided with Y-axis infrarede emitting diode (14), Y-axis photoelectric receiving tube (12), Y-axis code wheel (13), X-axis rotating shaft (15) is provided with X-axis infrarede emitting diode (18), X-axis photoelectric receiving tube (16), X-axis code wheel (17), Y-axis photoelectric receiving tube (12) is connected with the mouse data conversion chip respectively with X-axis photoelectric receiving tube (16), and the mouse data conversion chip is connected to main control chip.
4. the game paddle that is used for the FPS recreation according to claim 2, it is characterized in that: described displacement transducer adopts optical sensing devices, spin (7) side of trace ball (1) is provided with the optical lens (21) of optical sensing devices, be provided with optical pickocff (22) in the optical sensing devices, luminous or laser diode (23), optical pickocff (22) is connected with main control chip.
5. a game paddle localization method that is used for the FPS recreation may further comprise the steps: one, the voltage output signal of the main control chip detected pressures sensor of game paddle; Two, main control chip detects the trace ball displacement signal; Three, main control chip is with the signal of pressure sensor, accurately locate the displacement signal stack of dead band value and trace ball in the middle of the activate key state, right rocking bar; Signal after main control chip will superpose is given game host.
6. the game paddle localization method that is used for the FPS recreation according to claim 5, it is characterized in that: before the voltage output signal of described main control chip detected pressures sensor, The dead time in the middle of activate key and the right rocking bar is accurately located the middle dead band value of right rocking bar in activate key and the recreation.
7. the game paddle localization method that is used for the FPS recreation according to claim 6 is characterized in that: the effect that described pressure sensor is subjected to power changes the voltage output signal, and the voltage output that main control chip reads pressure sensor by the A/D conversion changes.
8. the game paddle localization method that is used for the FPS recreation according to claim 7, it is characterized in that: described main control chip reads trace ball by the cycle and moves data, notes the movement value of spin X-axis, Y-axis, and waits for that next cycle period reads data.
9. the game paddle localization method that is used for FPS recreation according to claim 8 is characterized in that: described main control chip is with the signal of pressure sensor, accurately locate that the displacement signal stack of dead band value and trace ball transfers right rocking bar data in the middle of activate key state, the right rocking bar.
10. the game paddle localization method that is used for the FPS recreation according to claim 9, it is characterized in that: described game paddle is provided with a right rocking bar, and the stack of the displacement signal of dead band value and trace ball transfers right rocking bar data in the middle of the X-axis that main control chip moves right rocking bar and the movement value of Y-axis, the right rocking bar.
CN 200810241882 2008-12-29 2008-12-29 Game handle for FPS game and positioning method thereof Pending CN101455903A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200810241882 CN101455903A (en) 2008-12-29 2008-12-29 Game handle for FPS game and positioning method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200810241882 CN101455903A (en) 2008-12-29 2008-12-29 Game handle for FPS game and positioning method thereof

Publications (1)

Publication Number Publication Date
CN101455903A true CN101455903A (en) 2009-06-17

Family

ID=40767200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200810241882 Pending CN101455903A (en) 2008-12-29 2008-12-29 Game handle for FPS game and positioning method thereof

Country Status (1)

Country Link
CN (1) CN101455903A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102039031A (en) * 2010-12-28 2011-05-04 华中科技大学 Multifunctional rehabilitation system for hands based on virtual reality
CN102274635A (en) * 2011-07-30 2011-12-14 周海涛 Game controller
CN102407019A (en) * 2011-07-30 2012-04-11 周海涛 Game controller
CN104321115A (en) * 2011-10-20 2015-01-28 索尼电脑娱乐公司 Multi-sensored control stick for enhanced input sensitivity and functionality
CN105892654A (en) * 2016-03-29 2016-08-24 联想(北京)有限公司 Information processing method and control device
CN106178498A (en) * 2016-08-26 2016-12-07 王军 The instruction auxiliary input device optimized for game
CN106310657A (en) * 2016-09-14 2017-01-11 创客数字科技(深圳)有限公司 Gamepad with pressure sensitive touchpad
CN107050853A (en) * 2017-04-06 2017-08-18 北京小鸟看看科技有限公司 A kind of game paddle and its touch control detecting method, a kind of game station
CN107567347A (en) * 2015-04-30 2018-01-09 微软技术许可有限责任公司 Game console with removable oar annex
CN107890665A (en) * 2017-11-20 2018-04-10 上海祐胜电子科技有限公司 A kind of new game control device
CN107982913A (en) * 2017-12-11 2018-05-04 歌尔科技有限公司 A kind of game paddle and the method for obtaining game paddle control direction
CN109391899A (en) * 2017-08-10 2019-02-26 深圳曼塔智能科技有限公司 Remote controler rocking bar orientation method and terminal device
CN109568942A (en) * 2017-09-28 2019-04-05 腾讯科技(成都)有限公司 Handle peripheral hardware, virtual object control method and device
CN109661257A (en) * 2016-06-13 2019-04-19 株式会社堀 Game dedicated machine controller, game dedicated machine controller system
CN110152288A (en) * 2019-06-27 2019-08-23 歌尔科技有限公司 Game console, game system and the method for identifying game operation direction
CN110559654A (en) * 2019-10-12 2019-12-13 深圳市七熊科技有限公司 Track ball game handle and device thereof
CN110806797A (en) * 2018-07-20 2020-02-18 北京君正集成电路股份有限公司 Method and device for controlling game based on head movement
CN111437597A (en) * 2019-01-17 2020-07-24 和硕联合科技股份有限公司 Control key assembly
US10799790B2 (en) 2015-04-30 2020-10-13 Microsoft Technology Licensing, Llc Paddle accessory for a game controller
CN112337084A (en) * 2020-09-29 2021-02-09 歌尔科技有限公司 Rocker drift processing method and device
CN113509718A (en) * 2021-07-19 2021-10-19 上海光楔网络科技有限公司 Auxiliary keyboard for hand trip and control method thereof
WO2023185618A1 (en) * 2022-03-31 2023-10-05 周海涛 Game controller having displacement detection apparatus, and displacement detection apparatus thereof

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102039031B (en) * 2010-12-28 2012-07-04 华中科技大学 Multifunctional rehabilitation system for hands based on virtual reality
CN102039031A (en) * 2010-12-28 2011-05-04 华中科技大学 Multifunctional rehabilitation system for hands based on virtual reality
CN102274635A (en) * 2011-07-30 2011-12-14 周海涛 Game controller
CN102407019A (en) * 2011-07-30 2012-04-11 周海涛 Game controller
WO2013016955A1 (en) * 2011-07-30 2013-02-07 Zhou Haitao Game controller
CN104321115A (en) * 2011-10-20 2015-01-28 索尼电脑娱乐公司 Multi-sensored control stick for enhanced input sensitivity and functionality
CN104321115B (en) * 2011-10-20 2016-06-22 索尼电脑娱乐公司 For the input sensitivity strengthened and functional multisensor joystick
CN107567347A (en) * 2015-04-30 2018-01-09 微软技术许可有限责任公司 Game console with removable oar annex
CN107567347B (en) * 2015-04-30 2020-12-04 微软技术许可有限责任公司 Game controller with removable paddle accessory
US10835812B2 (en) 2015-04-30 2020-11-17 Microsoft Technology Licensing, Llc Game controller with removable paddle accessory
US10799790B2 (en) 2015-04-30 2020-10-13 Microsoft Technology Licensing, Llc Paddle accessory for a game controller
CN105892654A (en) * 2016-03-29 2016-08-24 联想(北京)有限公司 Information processing method and control device
CN109661257A (en) * 2016-06-13 2019-04-19 株式会社堀 Game dedicated machine controller, game dedicated machine controller system
CN106178498A (en) * 2016-08-26 2016-12-07 王军 The instruction auxiliary input device optimized for game
CN106310657A (en) * 2016-09-14 2017-01-11 创客数字科技(深圳)有限公司 Gamepad with pressure sensitive touchpad
CN107050853A (en) * 2017-04-06 2017-08-18 北京小鸟看看科技有限公司 A kind of game paddle and its touch control detecting method, a kind of game station
CN109391899A (en) * 2017-08-10 2019-02-26 深圳曼塔智能科技有限公司 Remote controler rocking bar orientation method and terminal device
CN109568942A (en) * 2017-09-28 2019-04-05 腾讯科技(成都)有限公司 Handle peripheral hardware, virtual object control method and device
CN109568942B (en) * 2017-09-28 2022-04-15 腾讯科技(成都)有限公司 Handle peripheral and virtual object control method and device
CN107890665A (en) * 2017-11-20 2018-04-10 上海祐胜电子科技有限公司 A kind of new game control device
CN107982913A (en) * 2017-12-11 2018-05-04 歌尔科技有限公司 A kind of game paddle and the method for obtaining game paddle control direction
CN107982913B (en) * 2017-12-11 2023-10-24 歌尔科技有限公司 Game paddle and method for obtaining control direction of game paddle
CN110806797A (en) * 2018-07-20 2020-02-18 北京君正集成电路股份有限公司 Method and device for controlling game based on head movement
CN111437597A (en) * 2019-01-17 2020-07-24 和硕联合科技股份有限公司 Control key assembly
CN110152288A (en) * 2019-06-27 2019-08-23 歌尔科技有限公司 Game console, game system and the method for identifying game operation direction
CN110559654A (en) * 2019-10-12 2019-12-13 深圳市七熊科技有限公司 Track ball game handle and device thereof
CN112337084A (en) * 2020-09-29 2021-02-09 歌尔科技有限公司 Rocker drift processing method and device
CN112337084B (en) * 2020-09-29 2022-12-09 歌尔科技有限公司 Rocker drift processing method and device
CN113509718A (en) * 2021-07-19 2021-10-19 上海光楔网络科技有限公司 Auxiliary keyboard for hand trip and control method thereof
CN113509718B (en) * 2021-07-19 2024-04-02 上海光楔网络科技有限公司 Auxiliary keyboard for hand tour and control method thereof
WO2023185618A1 (en) * 2022-03-31 2023-10-05 周海涛 Game controller having displacement detection apparatus, and displacement detection apparatus thereof

Similar Documents

Publication Publication Date Title
CN101455903A (en) Game handle for FPS game and positioning method thereof
US8223147B1 (en) Method and system for vision-based interaction in a virtual environment
US8184100B2 (en) Inertia sensing input controller and receiver and interactive system using thereof
CN104321115B (en) For the input sensitivity strengthened and functional multisensor joystick
CN104769522B (en) The remote controllers with gesture identification function are pointed to 3D
US20120319989A1 (en) Video-game controller assemblies designed for progressive control of actionable-objects displayed on touchscreens: expanding the method and breadth of touch-input delivery
CN102317892B (en) The method of control information input media, message input device, program and information storage medium
CN102274635A (en) Game controller
US20140168100A1 (en) Video-game controller assemblies designed for progressive control of actionable-objects displayed on touchscreens: expanding the method and breadth of touch-input delivery
CN101901106A (en) The method and the device that are used for the data input
JP2005032245A (en) Image-based control of video game
CN102360251B (en) Air mouse, air mouse control system and method for realizing control
CN107894854B (en) Touch electronic system, touch processing device and method for simulating stylus as rocker
US20090062005A1 (en) Method for adjusting sensing range and sensitivity and inertia interactive aparatus and system using thereof
CN101122836A (en) Movement sensing device
CN105975091A (en) Virtual keyboard human-computer interaction technology based on inertial sensor
JPH11513157A (en) Interactive navigation device for virtual environment
EP1160651A1 (en) Wireless cursor control
CN109032395B (en) Multi-dimensional intelligent control device and method
CN101498970A (en) Mouse suitable for electronic sports
CN112237736A (en) Using touch sensing to make a trackball behave like a joystick
Parker Buttons, simplicity, and natural interfaces
CN202724663U (en) Game controller
Thakar et al. Hand gesture controlled gaming application
WO2020048543A1 (en) Intelligent control device and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20090617