pebble-time-machine | Pebble tick timer service replacement
kandi X-RAY | pebble-time-machine Summary
kandi X-RAY | pebble-time-machine Summary
pebble-time-machine is a C library. pebble-time-machine has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.
A Pebble TickTimerService replacement for testing transitions and animations more quickly by speeding up the passage of time. I found that I needed something like this for testing in every watchface that has animations or unusual ways to show the time. So I made a package out of it. To use the TimeMachine you have to call one of the init functions to configure the start time, which unit increase you want to accelerate and the interval how quickly you want this to happen. If you set the interval to 0 you will get exactly one tick with the start time. Use this to set a specific time for testing or screen shots. If you want to test a specific transition, you can also configure a loop to wrap around at a specified end time. This is also very useful when recording GIF animations for the app store assets. You have to replace the TickTimerService API calls with the TimeMachine API, which just adds a time_machine_ prefix to the front. For convenience I also included a modified pebble-events package API, but be aware that packages that use the pebble-events version of TickTimerService will not use the TimeMachine version automatically. You can use the TIME_MACHINE define to determine whether or not TimeMachine is used. The define is set if pebble-time-machine.h is included. When used correctly you can easily switch between accelerated and real time by just commenting out the pebble-time-machine.h include. #Note If you do large time spans, be aware that leap years are currently ignored and will not be handled correctly.
A Pebble TickTimerService replacement for testing transitions and animations more quickly by speeding up the passage of time. I found that I needed something like this for testing in every watchface that has animations or unusual ways to show the time. So I made a package out of it. To use the TimeMachine you have to call one of the init functions to configure the start time, which unit increase you want to accelerate and the interval how quickly you want this to happen. If you set the interval to 0 you will get exactly one tick with the start time. Use this to set a specific time for testing or screen shots. If you want to test a specific transition, you can also configure a loop to wrap around at a specified end time. This is also very useful when recording GIF animations for the app store assets. You have to replace the TickTimerService API calls with the TimeMachine API, which just adds a time_machine_ prefix to the front. For convenience I also included a modified pebble-events package API, but be aware that packages that use the pebble-events version of TickTimerService will not use the TimeMachine version automatically. You can use the TIME_MACHINE define to determine whether or not TimeMachine is used. The define is set if pebble-time-machine.h is included. When used correctly you can easily switch between accelerated and real time by just commenting out the pebble-time-machine.h include. #Note If you do large time spans, be aware that leap years are currently ignored and will not be handled correctly.
Support
Quality
Security
License
Reuse
Support
pebble-time-machine has a low active ecosystem.
It has 1 star(s) with 1 fork(s). There are 2 watchers for this library.
It had no major release in the last 6 months.
There are 1 open issues and 0 have been closed. There are 1 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of pebble-time-machine is current.
Quality
pebble-time-machine has no bugs reported.
Security
pebble-time-machine has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
pebble-time-machine does not have a standard license declared.
Check the repository for any license declaration and review the terms closely.
Without a license, all rights are reserved, and you cannot use the library in your applications.
Reuse
pebble-time-machine releases are not available. You will need to build from source code and install.
Installation instructions are not available. Examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pebble-time-machine
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of pebble-time-machine
pebble-time-machine Key Features
No Key Features are available at this moment for pebble-time-machine.
pebble-time-machine Examples and Code Snippets
No Code Snippets are available at this moment for pebble-time-machine.
Community Discussions
No Community Discussions are available at this moment for pebble-time-machine.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install pebble-time-machine
You can download it from GitHub.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page