Skip to content

Keyassist dev #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 36 commits into
base: lineage-18.1
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
4ab8f40
avoid freeing buffer repeatly
609386314 Nov 27, 2023
7d349b4
add supporting for x100
warlice Dec 8, 2023
48b36cc
add dmabuf support for x100 gralloc
warlice Feb 29, 2024
c23dadd
add a flag is_touch_down to decide
warlice Mar 27, 2024
9c075aa
only set the left mouse button to touch simulation
ironlvxyy Apr 8, 2024
8e5ed7e
mouse wheel rotation simulates touch sliding and add switch
ironlvxyy Apr 11, 2024
206c9ea
fix the problem of missing up events of the same type
ironlvxyy Apr 11, 2024
d7bc4be
turn off wheel touch functionality
ironlvxyy Apr 16, 2024
a32df63
optimize the scroll wheel to simulate touch movement
ironlvxyy Apr 19, 2024
0b636f9
new scroll wheel touch sliding solution
ironlvxyy Apr 29, 2024
c070d9e
automatically turn off touch emulation for Linux apps
ironlvxyy May 6, 2024
e408673
add gps hardware
warlice May 6, 2024
07dfeeb
gps hal no longer parse json
609386314 May 7, 2024
c302507
Merge pull request #1 from openfde/gps_dev
609386314 May 9, 2024
09210cf
display external Wayland mouse cursor
ironlvxyy May 21, 2024
3113c83
fix mouse not showing in weston
ironlvxyy May 24, 2024
4b9bc2c
add master volume ctl
609386314 Jun 19, 2024
041fe15
Merge pull request #2 from openfde/volume_dev
warlice Jun 20, 2024
7421fd1
add relative pointer listener
ironlvxyy Jun 28, 2024
1347b76
automatically show or hide the wayland cursor
ironlvxyy Jun 28, 2024
02bbc31
fix custom cursor icon not updating
ironlvxyy Jun 28, 2024
2bc0595
hide wayland cursor when pointer icon type null
ironlvxyy Jul 2, 2024
7ad97ce
increase the touch sliding amplitude when wheel discrete
ironlvxyy Jul 2, 2024
f8fd4fa
add wheel discrete check in weston
ironlvxyy Jul 4, 2024
bb66a3c
use gnss_sv_status_callback
609386314 Jul 4, 2024
0457c9f
Merge pull request #3 from openfde/gps_dev
609386314 Jul 4, 2024
01f21bd
fixed the issue with incorrect mouse shape update
ironlvxyy Jul 12, 2024
70522c9
delete orig files
ironlvxyy Jul 22, 2024
c144075
optimize the wayland cursor update solution
ironlvxyy Jul 25, 2024
63b4287
added pinch-to-zoom functionality for touchpad
ironlvxyy Jul 25, 2024
da87fb4
added two-finger horizontal scrolling function on touchpad
ironlvxyy Jul 25, 2024
e7aa310
Fix cursor does not display
ironlvxyy Jul 31, 2024
2e6ca66
support ranchu gralloc
farewang Aug 6, 2024
96d0b4c
Merge pull request #4 from openfde/emugl
warlice Aug 8, 2024
94c42e0
add axis simulation double finger touch
ironlvxyy Aug 12, 2024
f48570c
KeyAssist: hide cursor
foryoung2018 Aug 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions audio/Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,20 @@ include $(CLEAR_VARS)
LOCAL_MODULE := audio.primary.waydroid
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := audio_hw.c
LOCAL_SHARED_LIBRARIES := liblog libcutils libasound
LOCAL_SRC_FILES := pa_volume_ctl.c audio_hw.c
LOCAL_SHARED_LIBRARIES := liblog libcutils libasound libpulse
LOCAL_HEADER_LIBRARIES := libhardware_headers
LOCAL_CFLAGS := -Wno-unused-parameter
LOCAL_CFLAGS := -Wno-unused-parameter \
-Wno-error \
-DPACKAGE \
-DPACKAGE_NAME=\"pulseaudio\" \
-DPACKAGE_VERSION=\"1.99\"

LOCAL_C_INCLUDES += \
external/alsa-lib/include \
external/expat/lib \
system/media/audio_utils/include \
system/media/audio_effects/include
system/media/audio_effects/include \
external/pulseaudio/src

include $(BUILD_SHARED_LIBRARY)
11 changes: 5 additions & 6 deletions audio/audio_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
#include <audio_utils/echo_reference.h>
#include <hardware/audio_effect.h>
#include <audio_effects/effect_aec.h>
#include "pa_volume_ctl.h"

/* Minimum granularity - Arbitrary but small value */
#define CODEC_BASE_FRAME_COUNT 32
Expand Down Expand Up @@ -881,25 +882,23 @@ static int adev_set_voice_volume(struct audio_hw_device *dev, float volume)
static int adev_set_master_volume(struct audio_hw_device *dev, float volume)
{
ALOGV("adev_set_master_volume: %f", volume);
return -ENOSYS;
return pa_set_master_volume(volume);
}

static int adev_get_master_volume(struct audio_hw_device *dev, float *volume)
{
ALOGV("adev_get_master_volume: %f", *volume);
return -ENOSYS;
return pa_get_master_volume(volume);
}

static int adev_set_master_mute(struct audio_hw_device *dev, bool muted)
{
ALOGV("adev_set_master_mute: %d", muted);
return -ENOSYS;
return pa_set_master_mute(muted);
}

static int adev_get_master_mute(struct audio_hw_device *dev, bool *muted)
{
ALOGV("adev_get_master_mute: %d", *muted);
return -ENOSYS;
return pa_get_master_mute(muted);
}

static int adev_set_mode(struct audio_hw_device *dev, audio_mode_t mode)
Expand Down
Loading