Home
last modified time | relevance | path

Searched refs:touch (Results 1 – 18 of 18) sorted by relevance

/TwlSDK-5.4/build/demos/snd/synth/src/
Dmain.c51 int touch:1; member
117 tp.touch = 0; in NitroMain()
166 if (tp.touch) in NitroMain()
337 old = tp.touch; in TpRead()
343 tp.touch = tp_data.touch; in TpRead()
344 tp.trg = tp.touch & (tp.touch ^ old); in TpRead()
345 tp.rls = old & (old ^ tp.touch); in TpRead()
/TwlSDK-5.4/build/demos/vib/pulse_vib/src/
Dmain.c364 if ((Trg & PAD_BUTTON_A) || (tp_trg.touch && tp_trg.x > 128)) in set_pulse_state()
369 else if (tp_trg.touch && tp_trg.x <= 128) in set_pulse_state()
376 else if (Trg & PAD_BUTTON_B || tp_uptrg.touch) in set_pulse_state()
517 if ((Trg & PAD_BUTTON_A) || (tp_trg.touch && tp_trg.x > 128)) in save_and_load_pulse_state()
530 else if (tp_trg.touch && tp_trg.x <= 128) in save_and_load_pulse_state()
545 else if (Trg & PAD_BUTTON_B || (tp_uptrg.touch && tp_uptrg.x > 128)) in save_and_load_pulse_state()
765 tp_last.touch = 0; in read_tp()
768 if (tp_last.touch && (!tp_pre.touch)) in read_tp()
774 tp_trg.touch = FALSE; in read_tp()
777 if ((!tp_last.touch) && tp_pre.touch) in read_tp()
[all …]
/TwlSDK-5.4/build/demos/fs/overlay-staticinit/src/
Dmain.c110 if (cur_tp->touch == TP_TOUCH_OFF) in GetInput()
112 input->tp.touch = TP_TOUCH_OFF; in GetInput()
119 hold_bits = (u16)(PAD_Read() | (input->tp.touch ? PAD_BUTTON_TP : 0)); in GetInput()
/TwlSDK-5.4/build/libraries/spi/ARM9/src/
Dtp.c207 result->touch = (u8)spi_tp.e.touch; in TPi_CopyTpFromSystemWork()
687 tpState.samplingBufs[i].touch = TP_TOUCH_OFF; in TP_RequestAutoSamplingStartAsync()
820 if (!tp->touch) in TP_GetLatestRawPointInAuto()
855 result->touch = TP_TOUCH_ON; in TP_GetLatestRawPointInAuto()
861 result->touch = TP_TOUCH_ON; in TP_GetLatestRawPointInAuto()
1045 disp->touch = raw->touch; in TP_GetCalibratedPoint()
1048 if (raw->touch == 0) in TP_GetCalibratedPoint()
/TwlSDK-5.4/build/demos/spi/tp-2/src/
Dmain.c171 if (!buf[idx].touch) in HandDraw()
173 tpLast.touch = 0; in HandDraw()
183 if (!tpLast.touch) in HandDraw()
/TwlSDK-5.4/build/demos/math/fft-2/src/
Dmain.c87 int touch:1; member
366 if (tp.touch) in NitroMain()
1183 old = tp->touch; in TpRead()
1189 tp->touch = tp_data.touch; in TpRead()
1190 tp->trg = tp->touch & (tp->touch ^ old); in TpRead()
1191 tp->rls = old & (old ^ tp->touch); in TpRead()
/TwlSDK-5.4/build/demos/wm/wmPadRead-child/src/
Dmain.c73 u8 touch; member
405 if (disp_point.touch) in DoPadSharing()
442 sendData.touch = (u8)disp_point.touch; in DoPadSharing()
510 if( i != myAid && gRecvData[i].touch ) in DoPadSharing()
/TwlSDK-5.4/build/demos.TWL/spi/spiMonkey3/src/
Dmain.c1039 if ((gTpData[index].touch == TP_TOUCH_ON) && (gTpData[index].validity == TP_VALIDITY_VALID)) in SetDrawTpData()
1041 gDrawTpData[i].touch = TP_TOUCH_ON; in SetDrawTpData()
1046 gDrawTpData[i].touch = TP_TOUCH_OFF; in SetDrawTpData()
1065 if (gDrawTpData[0].touch == TP_TOUCH_ON) in DrawTpData()
1070 if (gDrawTpData[1].touch == TP_TOUCH_ON) in DrawTpData()
1075 if (gDrawTpData[2].touch == TP_TOUCH_ON) in DrawTpData()
1080 if (gDrawTpData[3].touch == TP_TOUCH_ON) in DrawTpData()
/TwlSDK-5.4/build/tools/loadrun.TWL/
Dnitrorun.TWL138 touch $tmpFile
/TwlSDK-5.4/tools/bin/
Dnitrorun.TWL138 touch $tmpFile
/TwlSDK-5.4/include/nitro/spi/common/
Dtype.h170 u32 touch:1; member
/TwlSDK-5.4/build/demos/spi/tp-1/src/
Dmain.c165 if (disp_point.touch) in NitroMain()
/TwlSDK-5.4/include/nitro/spi/ARM9/
Dtp.h92 u16 touch; // Touch yes/no member
/TwlSDK-5.4/build/demos/spi/spiMonkey2/src/
Dmain.c184 gTpData.touch = TP_TOUCH_OFF; in NitroMain()
365 if (gTpData.touch == TP_TOUCH_ON) in Draw3D()
/TwlSDK-5.4/build/demos/spi/spiMonkey/src/
Dmain.c208 if (gTpData[i].touch == TP_TOUCH_ON) in Draw3D()
/TwlSDK-5.4/build/buildtools/
Dmodulerules159 install $(1) $(2) && touch -m -r $(1) $(2)
/TwlSDK-5.4/build/demos/prc/characterRecognition-1/src/
Dmain.c132 if (sample.touch && (sample.validity == 0)) in NitroMain()
/TwlSDK-5.4/build/demos/prc/characterRecognition-2/src/
Dmain.c199 if (sample.touch && (sample.validity == 0)) in NitroMain()