Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change the touch area #193

Open
19504643 opened this issue Dec 21, 2021 · 4 comments
Open

how to change the touch area #193

19504643 opened this issue Dec 21, 2021 · 4 comments

Comments

@19504643
Copy link

I'm using a 4.3 inch 800*480 LCD and 12 bit touch chip, now only a very small area can get the cursor to move, and the ts_calibration not working, how to change the touch area to the full screen

./ts_calibrate
xres = 800, yres = 480

when I run ts_test, touch the upper left corner and lower right corner, it returns minimum and maximum value, but the tslib only get the value from 0 to 800 in horizontal and 0 to 480 in vertical.

./ts_test
3867.380129:    220    379    255
3867.400118:    217    374    255
3867.420121:    215    389    255
3870.300119:   3892   3759    255
3870.310131:   3898   3765    255
3870.330114:   3903   3768    255

here is the conf:

cat ../etc/ts.conf
# Access plugins
################

# Uncomment if you wish to use the linux input layer event interface
module_raw input

# For other driver modules, see the ts.conf man page


# Filter plugins
################

# Uncomment if first or last samples are unreliable
# module skip nhead=1 ntail=1

# Uncomment if needed for devices that measure pressure
module pthres pmin=1

# Uncomment if needed
# module debounce drop_threshold=40

# Uncomment if needed to filter spikes
# module median depth=5

# Uncomment to enable smoothing of fraction N/D
# module iir N=6 D=10

# Uncomment if needed
# module lowpass factor=0.1 threshold=1

# Uncomment if needed to filter noise samples
module dejitter delta=100

# Uncomment to define threshold in number of events from device
# module evthres N=5

# Uncomment and adjust if you need to invert an axis or both
# module invert x0=800 y0=480

# Uncomment to use ts_calibrate's settings
module linear

1

@iqbal-em
Copy link

Hello, How are you ? I have same issue like you. Have you already solve the problem?

Thanks

@yifanshu02
Copy link

hello,how r u? i have same issue like you.Have you already solve the problem??

@yifanshu02
Copy link

i think the ts_calibrate is failed...

@yifanshu02
Copy link

solved!!

# Uncomment to use ts_calibrate's settings
#module linear

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants