Mint.ScreenRotation 1.0.2
Mint.ScreenRotation
Usage
Windows
For windows important parameters are:
'DisplayIndex' (Note: Windows remember all displays which was connected recently, check correct index!)
'Degree' (Note: Rotation degree)
Example for one time usage on startup
var result = Worker.Rotate(new Config
{
Degree = DegreeEnum.D0,
DisplayIndex = 5
});
When 'result' equals 'false' parameters invalid
Example for run with period (in seconds) on project startup
Worker.Rotate(new Config
{
Degree = DegreeEnum.D0,
DisplayIndex = 5
}, 5);
Second parameter in seconds
Linux
For windows important parameters are:
'Degree' (Note: Rotation degree)
'DisplayName' (Note: display name cmd 'xrandr')
'TouchName' (Note: touch name cmd 'xinput')
'TouchParam' (Note: touch parameter name for rotation matrix)
No packages depend on Mint.ScreenRotation.
.NET Standard 2.1
- No dependencies.