Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libtcg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anton
libtcg
Commits
faecd955
Commit
faecd955
authored
11 years ago
by
Gerd Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
input-legacy: remove kbd_put_keycode
Signed-off-by:
Gerd Hoffmann
<
kraxel@redhat.com
>
parent
c43ce551
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/ui/console.h
+0
-1
0 additions, 1 deletion
include/ui/console.h
ui/input-legacy.c
+0
-23
0 additions, 23 deletions
ui/input-legacy.c
with
0 additions
and
24 deletions
include/ui/console.h
+
0
−
1
View file @
faecd955
...
...
@@ -46,7 +46,6 @@ void qemu_activate_mouse_event_handler(QEMUPutMouseEntry *entry);
QEMUPutLEDEntry
*
qemu_add_led_event_handler
(
QEMUPutLEDEvent
*
func
,
void
*
opaque
);
void
qemu_remove_led_event_handler
(
QEMUPutLEDEntry
*
entry
);
void
kbd_put_keycode
(
int
keycode
);
void
kbd_put_ledstate
(
int
ledstate
);
void
kbd_mouse_event
(
int
dx
,
int
dy
,
int
dz
,
int
buttons_state
);
...
...
This diff is collapsed.
Click to expand it.
ui/input-legacy.c
+
0
−
23
View file @
faecd955
...
...
@@ -500,29 +500,6 @@ void qemu_remove_led_event_handler(QEMUPutLEDEntry *entry)
g_free
(
entry
);
}
void
kbd_put_keycode
(
int
keycode
)
{
static
bool
emul0
;
bool
up
;
if
(
keycode
==
SCANCODE_EMUL0
)
{
emul0
=
true
;
return
;
}
if
(
keycode
&
SCANCODE_UP
)
{
keycode
&=
~
SCANCODE_UP
;
up
=
true
;
}
else
{
up
=
false
;
}
if
(
emul0
)
{
keycode
|=
SCANCODE_GREY
;
emul0
=
false
;
}
qemu_input_event_send_key_number
(
NULL
,
keycode
,
!
up
);
}
void
kbd_put_ledstate
(
int
ledstate
)
{
QEMUPutLEDEntry
*
cursor
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment