37034 Commits

Author SHA1 Message Date
dando92 c550f21824 FIxed formatting 2025-03-27 22:36:29 -07:00
dando92 1436d4c708 Fixed broken hid device search 2025-03-27 22:36:29 -07:00
dando92 fb15205d71 Modified hid device internal methods 2025-03-27 22:36:29 -07:00
dando92 871e25c5a8 Cleaned log and converted int ptr to vector. 2025-03-27 22:36:29 -07:00
dando92 40e61bd32e Corrected order of hide light in player options 2025-03-27 22:36:29 -07:00
DANDO\Aless a6c2a5bc2a Added list of pids instead of single pid. Read returns back -1 when in error 2025-03-27 22:36:29 -07:00
din 0b13eb17f2 pacdrive hidapi implementation 2025-03-27 22:36:29 -07:00
DANDO\Aless 63a68ae38a do not evaluate driver logic when HidDevice has not found at least once (bluedot, snek and stac) 2025-03-27 22:36:29 -07:00
DANDO\Aless db3543b507 Minor fixes on HidDevice.Corrected print on error, added leading zeros and fixed nonblocking write option 2025-03-27 22:36:29 -07:00
DANDO\Aless 35714a0a04 Fixed bluedot driver 2025-03-27 22:36:29 -07:00
dando92 762041be69 Bugfix: Always setting light, woops 2025-03-27 22:36:29 -07:00
dando92 01b2464df8 Added error print and other small refactoring. Now it evaluates hid path before trying connection 2025-03-27 22:36:29 -07:00
DANDO\Aless cf453007e0 Moved everything to initializer list 2025-03-27 22:36:29 -07:00
DANDO\Aless 1259c0e318 Modified HidDevice after some testing. Added HidDevice to snek and stac 2025-03-27 22:36:29 -07:00
dando92 1568305353 Modified bluedot driver to use HidDevice class 2025-03-27 22:36:29 -07:00
dando92 3cbae013b8 Added hid device class as an arch utils 2025-03-27 22:36:29 -07:00
din 1e62bec650 hidapi: snek & stac support 2025-03-27 22:36:29 -07:00
DANDO\Aless d3f985fbee WIP Modified stac light driver. testing needed and it is not linux only anymore 2025-03-27 22:36:29 -07:00
DANDO\Aless 288c1e527e Added bluedot light drivers 2025-03-27 22:36:29 -07:00
DANDO\Aless 7cdf7033ab Added cmake for both linux and win build 2025-03-27 22:36:29 -07:00
DANDO\Aless 4271f43a2e Added hidapi submodule 2025-03-27 22:36:29 -07:00
teejusb 427484d100 Version bump to 1.0.2 2025-03-26 21:53:06 -07:00
teejusb abdc459a8a Update comments 2025-03-26 21:19:24 -07:00
teejusb 665c06c3db Set the default sync offset outside of DoesFileExist(sPackIniPath) check 2025-03-26 21:13:04 -07:00
teejusb d8b7d416d1 More SL changes 2025-03-26 16:14:38 -07:00
sukibaby 6401c66129 Reorganize machine sync bias handing in Group constructor
All logic is moved into one section now instead of being split between two places.

This is a minor change, but I'd be more comfortable with this because it more explicitly defines the different possibilities for group/machine offset combinations than the existing code.

Revert "Reorganize machine sync bias handing in Group constructor"

This reverts commit b53d26df494aea9d7491d2410c214b146ab09034.

Reorganize machine sync bias handing in Group constructor
2025-03-26 10:41:08 -07:00
Yauhen Artsiukhou d6bd574d98 Change initialization order
Compiler complains about it (-Wreorder)
2025-03-26 08:38:36 -07:00
teejusb 36e4372746 Pull in additional SL changes 2025-03-25 23:51:42 -07:00
Crash Cringle 6d6dc86211 Ensure Group offset is always applied 2025-03-25 23:28:08 -07:00
teejusb f163215a9c Update Simply Love to 5.6.1 2025-03-24 23:25:12 -07:00
Michael Votaw 753dfec5db Always generate smNoteData from parsed data, to ensure consistent string representation of stepchart 2025-03-24 22:21:19 -07:00
Michael Votaw 9a7cf4511f Removed unused 'isEmpty' variable 2025-03-24 22:21:19 -07:00
Michael Votaw 90bdb5e2a6 Check that lines at least has one line, to prevent infinite loop 2025-03-24 22:21:19 -07:00
teejusb ad2f895df1 Reset the clock_ to 0 instead of 0.5 2025-03-23 10:07:27 -07:00
teejusb 7d0a31ef1a nullptr check + use const ref 2025-03-23 01:57:37 -07:00
teejusb ba067092ac Add some comments 2025-03-23 01:34:43 -07:00
sukibaby 07483ef6f9 Added video banner logic in ScreenSelectMusic
Currently, video banners are treated the same as still-image banners, where we assume we need to let the low-res banner fade in before swapping it out with the high-res banner. This isn't the correct way to handle video banners, since we don't make low-res placeholders for them, so we now check the banner's extension to see if it's a video or not, and directly load the video if so.
2025-03-23 01:34:43 -07:00
teejusb 2144678871 Some styling changes, don't expose some lua functions 2025-03-23 01:26:45 -07:00
Michael Votaw 0c1603e15e Round bpm and beat to 3 decimal places using std::round() instead of just truncating to 3 decimal places (fixes discrepancy in GS hash generation) 2025-03-23 01:26:45 -07:00
Michael Votaw 25351a2f60 Strip any comments out of smNoteData string before calculating groovestats hash 2025-03-23 01:26:45 -07:00
Michael Votaw e47c7fd9c0 Enable calculating GrooveStats hash, and set the hash version appropriately. 2025-03-23 01:26:45 -07:00
Michael Votaw 8619fd0b0d Remove duplicated declaration of MinimziedChartString(); 2025-03-23 01:26:45 -07:00
Michael Votaw 261c60d19e Added lua function GetGrooveStatsHashVersion 2025-03-23 01:26:45 -07:00
Michael Votaw 3eab66808b Added a #GROOVESTATSHASHVERSION tag and CURRENT_GROOVE_STATS_HASH_VERSION constant 2025-03-23 01:26:45 -07:00
Michael Votaw c845205de5 Add a Lua method for forcing recalculation of GrooveStats hash. 2025-03-23 01:26:45 -07:00
Michael Votaw a70f1a015a Added missing header import and SetCachedGrooveStatsHash() method 2025-03-23 01:26:45 -07:00
Michael Votaw 1138b505f8 Set default value for m_bIsCachedGrooveStatsHashJustLoaded 2025-03-23 01:26:45 -07:00
Michael Votaw 25a3979975 Added methods for writing/loading #GROOVESTATSHASH to cache. When calling Lua GetGrooveStatsHash(), calculate it if it's not already been calculated. 2025-03-23 01:26:45 -07:00
Michael Votaw 632f456ea0 Added functions for generating GrooveStats hash for a given chart. 2025-03-23 01:26:45 -07:00
Crash Cringle 0cbc92ff0f explicitly initialize m_group to nullptr 2025-03-22 19:45:54 -07:00