Touch sensor device and touch panel device capable of adjusting detection threshold for identifying a type of touch
A touch sensor device includes: a touch sensor; a touch operation detector that detects a touch size by a touch operation of a user for the touch sensor; a touch operation identifier that identifies a type of the touch operation based on the touch size and at least one threshold; and an adjustment controller that adjusts the threshold in accordance with an operation by the user in an adjustment mode.
1 . A touch panel device comprising:
a touch sensor device comprising:
a touch sensor;
a touch operation detector that detects a touch size during a touch operation of a user on the touch sensor;
a touch operation identifier that identifies a type of the touch operation based on the touch size and at least one threshold; and
an adjustment controller that adjusts the at least one threshold based on an operation by the user in an adjustment mode;
a display device including a display; and
a display controller that causes the display to sequentially display a plurality of instruction contents to the user in the adjustment mode,
wherein the plurality of instruction contents provides instructions associated with different types of the touch operation to the user, and
the adjustment controller updates each one of the at least one threshold by calculating the threshold based on each touch size detected each time a sequential instruction content in the plurality of instruction contents is displayed.
2 . The touch panel device according to claim 1 , wherein the type of the touch operation identified by the touch operation identifier includes one of a pen, a fingertip, and a palm capable of performing the touch operation.
3 . The touch panel device according to claim 1 , further comprising an image capturer that captures an image or a video during the touch operation,
wherein the touch operation identifier identifies the type of the touch operation based on the touch size, the at least one threshold, and further based on the video or the image captured by the image capturer.
4 . The touch panel device according to claim 1 , further comprising:
a user determiner that determines the user; and
a storage that stores the at least one threshold in association with the user,
wherein the touch operation identifier identifies the type of the touch operation based on the touch size and the at least one threshold stored in the storage in association with the user, and
the adjustment controller updates the at least one threshold stored in the storage in association with the user.
5 . The touch panel device according to claim 4 , wherein the user determiner includes an image capturer that captures an image or a video of the user.
6 . The touch panel device according to claim 1 , further comprising:
an operation acceptor that accepts an input operation corresponding to each instruction content in the plurality of instruction contents,
wherein the adjustment controller updates each of the at least one threshold by using the threshold determined based on the input operation.