Giter VIP home page Giter VIP logo

peninspector's Introduction

PenInspector

Simple Qt application to inspect data provided by graphics tablet styluses.

main window

Detected Levels

Tablet Declared Windows 10 (Ink) macOS
XPPen Deco LW 8192 ~1024 ~256

Installation

bypass notarize

The .dmg installer is not notarized. To be able to install and use PenInspector.app from it, you will need to bypass manually the Gatekeeper. Assuming that you've downloaded the .dmg in ~/Downloads, you can bypass the Gatekeeper by running the command bellow in a Terminal window before mounting (double-clicking) the .dmg:

xattr -d com.apple.quarantine ~/Downloads/PenInspector-Installer.dmg

References:

Usage

  • configure your stylus using the Pen Config dock
  • select one of your styluses as the active one in the top application toolbar
  • draw something with your stylus in the canvas area
  • the Pressure Histogram dock will show a histogram with the pressure
  • the Pressure History dock will show the actual pressure level as you draw in the canvas area
  • copy the chart images to clipboard using Copy Chart buttons from the Pressure Histogram or Pressure History docks' toolbars

Canvas Area

  • pen data is received only while inside this area
  • use Clear button to clear the canvas area

Pen Config Dock

  • set a Name so that you can identify your pen in the top toolbar
  • the Pressure Levels is used by the Pressure Histogram to determine possible bucket values (stylus pressure is reported by Qt as a real number between 0.0 and 1.0)
  • use the Plus button to add a new config to the end of the config list
  • use the Minus button to remove the selected configuration
  • when the app starts the first time or finds no configured pen on start, a default pen (XPPen Deco LW) will be created
  • for now, the Maximum Tilt Angle is used by the Pen InfoDock to display the tilt

pen config

Pen Info Dock

  • displays data reported by operating system from the stylus
  • tilt angle and tilt rotation values are computed by the application

pen info

Pressure Histogram Dock

  • shows a histogram (left) and a table with pressure data (right)
  • the pressure data table contains:
    • Pressure: the actual pressure value reported by the operating system
    • Level: the level, based on the total number of pressure configured for the current pen
    • Count: how many times this pressure/level was reported
  • use the separator between the histogram and the table to set their widths
  • use the Copy Chart button to copy the chart to clipboard
  • use the Clear button to clear the chart
  • set a Window Size to limit the histogram to the a specific data set
    • All will use all pressure data to compute the histogram

pressure histogram

Pressure History Dock

  • shows a graph with pressure (left) and a table with pressure data (right)
  • every time the operating system reports a new pen event, the pressure value is added at the end (right side) of this graph
  • the pressure data table contains:
    • Index: the index of the pressure value
    • Pressure: the actual pressure value reported by the operating system
    • Level: the level, based on the total number of pressure configured for the current pen
  • use the separator between the histogram and the table to set their widths
  • use the Copy Chart button to copy the chart to clipboard
  • use the Clear button to clear the chart
  • set a Window Size to limit the history to the a specific data set

pressure history

Copyright (C) 2022 by Ioan Calin Borcoman

peninspector's People

Contributors

borco avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.