mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 08:50:13 +01:00
press 0,1,2,etc keys for specific bias values
This commit is contained in:
parent
74c32ee6aa
commit
4697cee78b
1 changed files with 12 additions and 0 deletions
|
|
@ -159,6 +159,18 @@ static void Key( unsigned char key, int x, int y )
|
|||
case 'B':
|
||||
Bias += 10;
|
||||
break;
|
||||
case '0':
|
||||
case '1':
|
||||
case '2':
|
||||
case '3':
|
||||
case '4':
|
||||
case '5':
|
||||
case '6':
|
||||
case '7':
|
||||
case '8':
|
||||
case '9':
|
||||
Bias = 100.0 * (key - '0');
|
||||
break;
|
||||
case 27:
|
||||
exit(0);
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue