Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Is there some APIs for get the force of click?

Is there some APIs for get the force of click?

Scheduled Pinned Locked Moved C / C++ / MFC
hostingcloudjsonquestion
27 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • CPalliniC CPallini

    Pressure is computed, see, for instance http://www.analog.com/static/imported-files/data_sheets/AD7877.pdf[^], "TOUCH-PRESSURE MEASUREMENT" section. :)

    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
    [My articles]

    R Offline
    R Offline
    Rajesh R Subramanian
    wrote on last edited by
    #16

    That is for devices manufactured by a certain company. I indicated in my first post that such things are possible if the manufacturer has implemented such a feature and is exposing APIs to capture those details. However, that would be an edge case. But most devices are simpler, and Windows certainly does not provide you features to measure "touch pressure". Again, I'll ONLY accept an API from MSDN that tells me what the touch pressure was when a touch event happens. :)

    "Real men drive manual transmission" - Rajesh.

    CPalliniC 1 Reply Last reply
    0
    • CPalliniC CPallini

      Pressure is computed, see, for instance http://www.analog.com/static/imported-files/data_sheets/AD7877.pdf[^], "TOUCH-PRESSURE MEASUREMENT" section. :)

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #17

      This time, I win! :laugh:

      "Real men drive manual transmission" - Rajesh.

      1 Reply Last reply
      0
      • R Rajesh R Subramanian

        That is for devices manufactured by a certain company. I indicated in my first post that such things are possible if the manufacturer has implemented such a feature and is exposing APIs to capture those details. However, that would be an edge case. But most devices are simpler, and Windows certainly does not provide you features to measure "touch pressure". Again, I'll ONLY accept an API from MSDN that tells me what the touch pressure was when a touch event happens. :)

        "Real men drive manual transmission" - Rajesh.

        CPalliniC Offline
        CPalliniC Offline
        CPallini
        wrote on last edited by
        #18

        Rajesh R Subramanian wrote:

        Again, I'll ONLY accept an API from MSDN that tells me what the touch pressure was when a touch event happens.

        Unfortunately what you require is not, in my opinion, what the OP has asked for ;P

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
        [My articles]

        In testa che avete, signor di Ceprano?

        R 1 Reply Last reply
        0
        • CPalliniC CPallini

          Rajesh R Subramanian wrote:

          Again, I'll ONLY accept an API from MSDN that tells me what the touch pressure was when a touch event happens.

          Unfortunately what you require is not, in my opinion, what the OP has asked for ;P

          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
          [My articles]

          R Offline
          R Offline
          Rajesh R Subramanian
          wrote on last edited by
          #19

          CPallini wrote:

          Unfortunately what you require is not, in my opinion, what the OP has asked for

          Of course, it is. The OP asked a question that is more general (and not specific to devices built by the analog.com company). :)

          "Real men drive manual transmission" - Rajesh.

          CPalliniC 1 Reply Last reply
          0
          • R Rajesh R Subramanian

            CPallini wrote:

            Unfortunately what you require is not, in my opinion, what the OP has asked for

            Of course, it is. The OP asked a question that is more general (and not specific to devices built by the analog.com company). :)

            "Real men drive manual transmission" - Rajesh.

            CPalliniC Offline
            CPalliniC Offline
            CPallini
            wrote on last edited by
            #20

            You impertinent youngster! :mad: Well, I surrender... :-D

            If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
            This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
            [My articles]

            In testa che avete, signor di Ceprano?

            R 1 Reply Last reply
            0
            • CPalliniC CPallini

              You impertinent youngster! :mad: Well, I surrender... :-D

              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
              [My articles]

              R Offline
              R Offline
              Rajesh R Subramanian
              wrote on last edited by
              #21

              CPallini wrote:

              Well, I surrender...

              Are you French? Oh, sorry. Never mind - this surrendering is about the touch screen discussion. :laugh: Good discussion though, as usual (THHB). :)

              "Real men drive manual transmission" - Rajesh.

              CPalliniC 1 Reply Last reply
              0
              • R Rajesh R Subramanian

                CPallini wrote:

                Well, I surrender...

                Are you French? Oh, sorry. Never mind - this surrendering is about the touch screen discussion. :laugh: Good discussion though, as usual (THHB). :)

                "Real men drive manual transmission" - Rajesh.

                CPalliniC Offline
                CPalliniC Offline
                CPallini
                wrote on last edited by
                #22

                Rajesh R Subramanian wrote:

                Good discussion though, as usual (THHB)

                Like the old gold days. :)

                If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                [My articles]

                In testa che avete, signor di Ceprano?

                R 1 Reply Last reply
                0
                • CPalliniC CPallini

                  Rajesh R Subramanian wrote:

                  Good discussion though, as usual (THHB)

                  Like the old gold days. :)

                  If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                  This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                  [My articles]

                  R Offline
                  R Offline
                  Rajesh R Subramanian
                  wrote on last edited by
                  #23

                  Like, certainly the good old days. Life's taking me for a ride, you know? It's becoming increasingly hard for me to find time to do what I want, instead of doing what I'm expected to do. :)

                  "Real men drive manual transmission" - Rajesh.

                  CPalliniC 1 Reply Last reply
                  0
                  • R Rajesh R Subramanian

                    Like, certainly the good old days. Life's taking me for a ride, you know? It's becoming increasingly hard for me to find time to do what I want, instead of doing what I'm expected to do. :)

                    "Real men drive manual transmission" - Rajesh.

                    CPalliniC Offline
                    CPalliniC Offline
                    CPallini
                    wrote on last edited by
                    #24

                    :) I usually do what I want, anyway. I suppose my managers are not so happy... :rolleyes:

                    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                    [My articles]

                    In testa che avete, signor di Ceprano?

                    R 1 Reply Last reply
                    0
                    • CPalliniC CPallini

                      :) I usually do what I want, anyway. I suppose my managers are not so happy... :rolleyes:

                      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                      [My articles]

                      R Offline
                      R Offline
                      Rajesh R Subramanian
                      wrote on last edited by
                      #25

                      :laugh:

                      "Real men drive manual transmission" - Rajesh.

                      W 1 Reply Last reply
                      0
                      • O Ozer Karaagac

                        Sorry for my misunderstanding (read error) :laugh:. You mean touch pressure strength or, I think, sometimes called pressure size. I'm not sure that this is standard information beside location information reported by device. This theoretically possible feature may not be carried out by all manufacturers.

                        W Offline
                        W Offline
                        whiteclouds
                        wrote on last edited by
                        #26

                        Thank for your reply. I had notice that Photoshop can get the pressure strength from some touch pad. So I try to find which way Adobe used to implement it. But I found nothing. I guess that is a standard of Adobe. So I will try to develop my application by the API provided from vendor. Thanks again! :)

                        There is some white cloud floating on the blue sky. That's the landscape I like.

                        1 Reply Last reply
                        0
                        • R Rajesh R Subramanian

                          :laugh:

                          "Real men drive manual transmission" - Rajesh.

                          W Offline
                          W Offline
                          whiteclouds
                          wrote on last edited by
                          #27

                          Both of you make me some weak! :-D Originally I am just ask a question. But you let the discussion of my question become a chat-room! I am FAINTING!

                          There is some white cloud floating on the blue sky. That's the landscape I like.

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • Categories
                          • Recent
                          • Tags
                          • Popular
                          • World
                          • Users
                          • Groups