Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 110621 Details for
Bug 137350
[ebuild] HDAPS hdaps-gl application
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to invert movements
hdaps-gl-0.0.5-r1-invert.patch (text/plain), 705 bytes, created by
Martin Hundebøll
on 2007-02-19 12:40:27 UTC
(
hide
)
Description:
Patch to invert movements
Filename:
MIME Type:
Creator:
Martin Hundebøll
Created:
2007-02-19 12:40:27 UTC
Size:
705 bytes
patch
obsolete
>--- hdaps-gl-0.0.5/hdaps-gl.c 2005-08-30 20:07:22.000000000 +0200 >+++ hdaps-gl-0.0.5-t60/hdaps-gl.c 2007-02-19 13:08:38.000000000 +0100 >@@ -99,7 +99,7 @@ > glPushMatrix (); > > glRotated (val_x / 2.0, 0.0f, 0.0f, -1.0f); >- glRotated (val_y / 2.0, 1.0f, 0.0f, 0.0f); >+ glRotated (-val_y / 2.0, 1.0f, 0.0f, 0.0f); > > glBegin (GL_QUADS); // start drawing the laptop. > >@@ -196,12 +196,12 @@ > { > int ret, x, y, do_update = 0; > >- ret = read_position (&x, &y); >+ ret = read_position (&y, &x); > if (ret) > exit(EXIT_FAILURE); > >- x -= rest_x; >- y -= rest_y; >+ y -= rest_x; >+ x -= rest_y; > > /* only update if we surpass our threshold, to minimize jitter ... */ > if (abs (x - val_x) > UPDATE_THRESHOLD) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 137350
:
89616
| 110621 |
110622