{"id":27957894,"url":"https://github.com/orsinium-labs/cirque-pinnacle","last_synced_at":"2026-02-16T14:07:48.232Z","repository":{"id":270240230,"uuid":"908625366","full_name":"orsinium-labs/cirque-pinnacle","owner":"orsinium-labs","description":"Rust crate for working with Cirque Pinnacle Glidepoint touchpads on embedded systems","archived":false,"fork":false,"pushed_at":"2025-07-20T07:40:30.000Z","size":57,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-21T07:54:23.140Z","etag":null,"topics":["cirque","cirque-pinnacle","driver","embedded","glidepoint","hal","no-std","pinnacle","rust","touchpad"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/orsinium-labs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-12-26T14:36:28.000Z","updated_at":"2025-11-27T14:34:53.000Z","dependencies_parsed_at":"2024-12-29T17:19:25.077Z","dependency_job_id":"cc6922f8-baf2-4f36-b0ad-3a16d7aa6930","html_url":"https://github.com/orsinium-labs/cirque-pinnacle","commit_stats":null,"previous_names":["orsinium-labs/cirque-pinnacle"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/orsinium-labs/cirque-pinnacle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fcirque-pinnacle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fcirque-pinnacle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fcirque-pinnacle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fcirque-pinnacle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orsinium-labs","download_url":"https://codeload.github.com/orsinium-labs/cirque-pinnacle/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orsinium-labs%2Fcirque-pinnacle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29509338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-16T09:05:14.864Z","status":"ssl_error","status_checked_at":"2026-02-16T08:55:59.364Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cirque","cirque-pinnacle","driver","embedded","glidepoint","hal","no-std","pinnacle","rust","touchpad"],"created_at":"2025-05-07T18:15:10.283Z","updated_at":"2026-02-16T14:07:48.204Z","avatar_url":"https://github.com/orsinium-labs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cirque-pinnacle\n\nRust crate for working with [Cirque Pinnacle Glidepoint](https://www.cirque.com/glidepoint-circle-trackpads) touchpads on embedded systems.\n\nFeatures:\n\n* no_std\n* no allocation\n* supports all modern Cirque touchpads\n* both absolute and relative mode\n* can configure and force calibration\n* supports almost all features, including many that are not documented\n* safe to use API\n\n## Installation\n\n```bash\ncargo add cirque-pinnacle\n```\n\n## Usage\n\nThe only thing that the crate requires is an [SpiDevice](https://docs.rs/embedded-hal/1.0.0/embedded_hal/spi/trait.SpiDevice.html) instance. For example, here is how you can make one for [ESP32](https://en.wikipedia.org/wiki/ESP32) using [esp-hal](https://github.com/esp-rs/esp-hal):\n\n```rust\n#![no_std]\n#![no_main]\nuse embedded_hal_bus::spi::ExclusiveDevice;\nuse esp_backtrace as _;\nuse esp_hal::delay::Delay;\nuse esp_hal::prelude::*;\nuse esp_hal::spi::SpiMode;\nuse esp_hal::{\n    gpio::{Level, Output},\n    spi::master::Spi,\n};\nuse esp_println::println;\n\n#[entry]\nfn main() -\u003e ! {\n    let mut config = esp_hal::Config::default();\n    config.cpu_clock = CpuClock::max();\n    let peripherals = esp_hal::init(config);\n    let delay = Delay::new();\n    let sclk = peripherals.GPIO1;\n    let miso = peripherals.GPIO2;\n    let mosi = peripherals.GPIO15;\n    let cs = peripherals.GPIO7;\n\n    let cs = Output::new(cs, Level::High);\n    let spi = Spi::new_with_config(\n        peripherals.SPI3,\n        esp_hal::spi::master::Config {\n            frequency: 400u32.kHz(),\n            mode: SpiMode::Mode1,\n            ..esp_hal::spi::master::Config::default()\n        },\n    )\n    .with_sck(sclk)\n    .with_mosi(mosi)\n    .with_miso(miso);\n    let spi_device = ExclusiveDevice::new(spi, cs, delay).unwrap();\n    todo!();\n}\n```\n\nYou can then configure and initialize the touchpad:\n\n```rust\nlet mode = cirque_pinnacle::Absolute::default();\nlet mut pad = mode.init(spi_device).unwrap();\n```\n\nGet some information about the device:\n\n```rust\nprintln!(\"firmware ID: {}\", pad.firmware_id().unwrap());\nprintln!(\"firmware version: {}\", pad.firmware_version().unwrap());\nprintln!(\"product ID: {}\", pad.product_id().unwrap());\n```\n\nRead touch coordinates:\n\n```rust\nloop {\n    let pos = pad.read_absolute().unwrap();\n    if pos.touched() {\n        println!(\"x={} y={} z={}\", pos.x, pos.y, pos.z);\n    }\n}\n\n```\n\nEach time you read coordinates, the DR pin of the touchpad gets deasserted. It will be asserted again when new data is available. So, in a real application, you can use the DR pin for interrupts to not miss any touchpad events.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forsinium-labs%2Fcirque-pinnacle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forsinium-labs%2Fcirque-pinnacle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forsinium-labs%2Fcirque-pinnacle/lists"}