Skip to content

Commit

Permalink
Update mouse click button
Browse files Browse the repository at this point in the history
  • Loading branch information
meepingsnesroms committed Jun 7, 2019
1 parent 29ca093 commit 61602de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libretroBuildSystem/libretro.c
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ void retro_set_environment(retro_environment_t cb){
struct retro_input_descriptor input_desc[] = {
{ 0, RETRO_DEVICE_ANALOG, RETRO_DEVICE_INDEX_ANALOG_LEFT, RETRO_DEVICE_ID_ANALOG_X, "Touchscreen Mouse X" },
{ 0, RETRO_DEVICE_ANALOG, RETRO_DEVICE_INDEX_ANALOG_LEFT, RETRO_DEVICE_ID_ANALOG_Y, "Touchscreen Mouse Y" },
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R2, "Touchscreen Mouse Click" },
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R, "Touchscreen Mouse Click" },
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_UP, "Dpad Up" },
{ 0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_DOWN, "Dpad Down" },
#if defined(EMU_SUPPORT_PALM_OS5)
Expand Down Expand Up @@ -364,7 +364,7 @@ void retro_run(void){

palmInput.touchscreenX = touchCursorX / (palmFramebufferWidth - 1);
palmInput.touchscreenY = touchCursorY / (palmFramebufferHeight - 1);
palmInput.touchscreenTouched = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R2);
palmInput.touchscreenTouched = input_state_cb(0, RETRO_DEVICE_JOYPAD, 0, RETRO_DEVICE_ID_JOYPAD_R);
}
else{
//use RetroArch internal pointer
Expand Down
1 change: 1 addition & 0 deletions roadmap.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ v1.0.0 to v1.1.0(Feb 25 2019 - Easter 2019)
RetroArch GUI:
*allow mouse cursor to be rendered with multiple CPUs(removed for now)
*now launches content like cartridge based systems
*make default button layout match default controller layout better
//TODO: allow adding more content after boot
//TODO: get EMU_MANAGE_HOST_CPU_PIPELINE working on other platforms then the main 4
//TODO: when compiling with "make platform=windows_x86_64" the dll wont load(theres a really good chance its because "libgomp-1.dll"(the OpenMP handler library) is missing from the RetroArch folder)
Expand Down

0 comments on commit 61602de

Please sign in to comment.